Project

General

Profile

« Previous | Next » 

Revision 749

input.Makefile: Deal properly with more than one format that's being mapped via (e.g. DwC and VegX)

View differences:

inputs/input.Makefile
55 55

  
56 56
allViaMaps := $(filter-out maps/VegBIEN.%.csv,$(wildcard maps/*.csv))
57 57
via := $(firstword $(sort $(basename $(basename $(notdir $(allViaMaps))))))
58
viaMapsSort := $(wildcard $(tablesSort:%=maps/$(via).%.csv))
59
viaMaps := $(viaMapsSort) $(filter-out $(viaMapsSort),$(viaMaps))
58
viaMaps := $(wildcard $(tablesSort:%=maps/$(via).%.csv))
59
viaMaps += $(filter-out $(viaMaps),$(wildcard maps/$(via).*.csv))
60 60
tables := $(viaMaps:maps/$(via).%.csv=%)
61 61
autogenMaps := $(subst $(via).,VegBIEN.,$(viaMaps))
62 62
directMaps := $(autogenMaps) $(filter-out $(autogenMaps),\

Also available in: Unified diff