Revision 1385
Added by Aaron Marcuse-Kubitza almost 13 years ago
inputs/input.Makefile | ||
---|---|---|
2 | 2 |
|
3 | 3 |
log ?= $(if $(test),,1) |
4 | 4 |
profile ?= |
5 |
exts ?= csv xml |
|
5 |
exts ?= csv txt xml
|
|
6 | 6 |
test_n ?= 2 |
7 | 7 |
tablesSort ?= plots organisms stems |
8 | 8 |
|
... | ... | |
131 | 131 |
##### Mapping |
132 | 132 |
|
133 | 133 |
dbExport := $(firstword $(wildcard src/db.*.sql)) |
134 |
inputFiles := $(wildcard src/*.csv src/*.txt src/*.xml)
|
|
134 |
inputFiles := $(wildcard $(exts:%=src/*.%))
|
|
135 | 135 |
|
136 | 136 |
+maps = $(filter maps/% $(mappings)/%,$(+_)) |
137 | 137 |
<in = $(firstword $(filter-out $(+maps),$(+_)) $(wildcard $(exts:%=src/*.$*.%))) |
Also available in: Unified diff
input.Makefile: Fixed bug in inputFiles wildcard where extensions were manually listed instead of dynamically determined from the $(exts) config var