Project

General

Profile

« Previous | Next » 

Revision 8156

inputs/input.Makefile: $(mkSrcMap): Use header.csv instead of the header of the CSVs, so that the column list in the map spreadsheet matches the actual DB table

View differences:

inputs/input.Makefile
297 297
maps :=
298 298

  
299 299
srcRoot = $(mappings)/root.sh
300
mkSrcMap = $(catSrcs)|(. $(srcRoot); env datasrc=$(datasrc) $(bin)/src_map >$@)
300
mkSrcMap = (. $(srcRoot); env datasrc=$(datasrc) $(bin)/src_map <$*/header.csv\
301
>$@)
301 302

  
302 303
translate = $(if $(wildcard $(1)),$(bin)/in_place $< $(bin)/translate_ci 1 $(1))
303 304

  

Also available in: Unified diff