Project

General

Profile

« Previous | Next » 

Revision 6592

input.Makefile: Tables discovery: $(dontImport): Don't import the Source table when $import_source env var is set to ""

View differences:

input.Makefile
6 6
##### Configuration
7 7

  
8 8
# Command line
9
import_source ?= 1
9 10
log ?= $(if $(test),,1)
10 11
profile ?=
11 12
quiet ?=
......
101 102
sortFile := import_order.txt
102 103
noImportFile := _no_import
103 104

  
104
dontImport = $(wildcard $(1)/$(noImportFile))
105
dontImport = $(wildcard $(1)/$(noImportFile))$(if\
106
$(import_source),,$(filter Source,$(1)))
105 107

  
106 108
tables := $(if $(wildcard $(sortFile)),$(shell cat $(sortFile)))
107 109
    # $(shell) replaces "\n" with " "

Also available in: Unified diff