Project

General

Profile

« Previous | Next » 

Revision 4465

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

View differences:

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