Revision 4105
Added by Aaron Marcuse-Kubitza over 12 years ago
input.Makefile | ||
---|---|---|
249 | 249 |
##### Mapping |
250 | 250 |
|
251 | 251 |
+maps = $(filter maps/% $(mappings)/%,$(+_)) |
252 |
<in = $(firstword $(filter-out $(+maps),$(+_))) |
|
253 |
map = $(if $(<in),<$(<in),\ |
|
254 |
$(if $(srcs),$(withCatSrcs),\ |
|
255 |
$(error No input file src/$*/*.{$(exts)})))\ |
|
252 |
map = $(if $(srcs),$(withCatSrcs),\ |
|
253 |
$(error No input file src/$*/*.{$(exts)}))\ |
|
256 | 254 |
$(root)/map $(+maps) |
257 | 255 |
map2db = $(if $(use_staged),env in_database=vegbien in_schema=$(datasrc)\ |
258 | 256 |
in_table=$*) env out_database=vegbien $(map) |
Also available in: Unified diff
input.Makefile: Mapping: Removed no longer used $(<in) and test for it in $(map)