Project

General

Profile

« Previous | Next » 

Revision 1381

input.Makefile: Use with_cat in map to later support prepending separate CSV headers

View differences:

input.Makefile
135 135

  
136 136
+maps = $(filter maps/% $(mappings)/%,$(+_))
137 137
<in = $(firstword $(filter-out $(+maps),$(+_)) $(wildcard $(exts:%=src/*.$*.%)))
138
map = $(if $(<in),<$(<in) ,$(if $(mapEnv),env $(mapEnv) ,$(error\
139
No input file src/*.$*.{$(exts)} )))$(root)/map $(+maps)
138
map = $(if $(<in),$(bin)/with_cat $(<in) -- ,$(if $(mapEnv),env $(mapEnv) ,\
139
$(error No input file src/*.$*.{$(exts)} )))$(root)/map $(+maps)
140 140
map2db = env out_database=vegbien $(map)
141 141

  
142 142
##### Import to VegBIEN

Also available in: Unified diff