Project

General

Profile

« Previous | Next » 

Revision 3569

src_map: Also add columns for the output mappings and comments, so that the src map can be directly copied for use as the via map (DwC.specimens.csv, etc.). The output mapping column name must be provided by the caller, which input.Makefile maps/src.%.csv provides using the new mappings roots.

View differences:

input.Makefile
182 182

  
183 183
srcMaps := $(wildcard maps/src.*.csv)
184 184

  
185
mkSrcMap = $(catSrcs)|env datasrc=$(datasrc) $(bin)/src_map >$@
185
srcRoot = $(mappings)/roots/$*.sh
186
mkSrcMap = $(catSrcs)|(. $(srcRoot); env datasrc=$(datasrc) $(bin)/src_map >$@)
186 187

  
187 188
# Src maps cleanup
188 189
ifneq ($(filter maps/.%.last_cleanup,$(MAKECMDGOALS)),)

Also available in: Unified diff