Revision 1382
Added by Aaron Marcuse-Kubitza almost 13 years ago
input.Makefile | ||
---|---|---|
135 | 135 |
|
136 | 136 |
+maps = $(filter maps/% $(mappings)/%,$(+_)) |
137 | 137 |
<in = $(firstword $(filter-out $(+maps),$(+_)) $(wildcard $(exts:%=src/*.$*.%))) |
138 |
map = $(if $(<in),$(bin)/with_cat $(<in) -- ,$(if $(mapEnv),env $(mapEnv) ,\ |
|
139 |
$(error No input file src/*.$*.{$(exts)} )))$(root)/map $(+maps) |
|
138 |
inputs = $(wildcard $(<in).header $(<in)) |
|
139 |
map = $(if $(inputs),$(bin)/with_cat $(inputs) -- ,$(if $(mapEnv),env $(mapEnv)\ |
|
140 |
,$(error No input file src/*.$*.{$(exts)} )))$(root)/map $(+maps) |
|
140 | 141 |
map2db = env out_database=vegbien $(map) |
141 | 142 |
|
142 | 143 |
##### Import to VegBIEN |
Also available in: Unified diff
input.Makefile: Prepend separate CSV header when available