Revision 4465
Added by Aaron Marcuse-Kubitza about 12 years ago
input.Makefile | ||
---|---|---|
163 | 163 |
nonXml = $(if $(isXml),,1) |
164 | 164 |
isCsv = $(if $(nonHeaderSrcs),$(if $(isXml),,1)) |
165 | 165 |
# true if $(srcs) non-empty and contains no *.xml |
166 |
catSrcs = $(bin)/cat$(if $(isCsv),_csv) $(srcs)
|
|
166 |
catSrcs = $(bin)/cat$(if $(nonXml),_csv) $(srcs)
|
|
167 | 167 |
withCatSrcs = $(catSrcs:$(bin)/%=$(bin)/with_%) -- |
168 | 168 |
|
169 | 169 |
# Usage: `make {--silent|-s} inputs/<datasrc>/cat` (don't echo make commands) |
Also available in: Unified diff
input.Makefile: Sources: $(catSrcs): Fixed bug where needed to use cat_csv even if subdir was not actually a CSV table, because this also cats the header.csv file created for a subdir that references an already-installed staging table