Revision 4746
Added by Aaron Marcuse-Kubitza about 12 years ago
input.Makefile | ||
---|---|---|
306 | 306 |
map = $(if $(srcs),$(withCatSrcs) $(root)/map $(+maps),\ |
307 | 307 |
$(shell echo Warning: No input file $*/*.{$(exts)} >&2)false) |
308 | 308 |
# need false to run some command, when prefixed by `env ...` below |
309 |
map2db = $(if $(use_staged),env in_database=vegbien in_schema=$(datasrc)\
|
|
310 |
in_table=$*) env out_database=vegbien $(map)
|
|
309 |
map2db = env in_database=vegbien in_schema=$(datasrc) in_table=$*\
|
|
310 |
out_database=vegbien $(map) |
|
311 | 311 |
|
312 | 312 |
##### Import to VegBIEN |
313 | 313 |
|
Also available in: Unified diff
input.Makefile: Mapping: $(map2db): Always use staging tables, because the flat files don't need to be used directly anymore