Project

General

Profile

« Previous | Next » 

Revision 4747

input.Makefile: Mapping: $(map): Don't require flat files because they don't need to be used directly anymore (staging tables are used instead)

View differences:

input.Makefile
303 303
##### Mapping
304 304

  
305 305
+maps = $(filter %/map.csv %/VegBIEN.csv $(mappings)/%,$(+_))
306
map = $(if $(srcs),$(withCatSrcs) $(root)/map $(+maps),\
307
$(shell echo Warning: No input file $*/*.{$(exts)} >&2)false)
308
# need false to run some command, when prefixed by `env ...` below
306
map = $(root)/map $(+maps)
309 307
map2db = env in_database=vegbien in_schema=$(datasrc) in_table=$*\
310 308
out_database=vegbien $(map)
311 309

  

Also available in: Unified diff