Revision 3967
Added by Aaron Marcuse-Kubitza over 12 years ago
mappings/Makefile | ||
---|---|---|
8 | 8 |
|
9 | 9 |
# Paths |
10 | 10 |
bin := ../bin |
11 |
inputCoreMaps := DwC1-DwC2.specimens.csv DwC2-VegBIEN.specimens.csv\
|
|
12 |
VegCSV-VegBIEN.specimens.csv VegX-VegCSV.stems.csv |
|
11 |
inputCoreMaps := Veg+.terms.csv DwC1-DwC2.specimens.csv \
|
|
12 |
DwC2-VegBIEN.specimens.csv VegCSV-VegBIEN.specimens.csv VegX-VegCSV.stems.csv
|
|
13 | 13 |
|
14 | 14 |
# Via formats |
15 | 15 |
coreMaps := $(wildcard *-VegBIEN.*.csv) |
... | ... | |
39 | 39 |
##### Core maps cleanup |
40 | 40 |
|
41 | 41 |
ifneq ($(filter .%.last_cleanup,$(MAKECMDGOALS)),) |
42 |
|
|
43 |
.Veg+.terms.csv.last_cleanup: .%.last_cleanup: % |
|
44 |
$(bin)/in_place $< $(bin)/sort_map |
|
45 |
touch $@ |
|
46 |
|
|
42 | 47 |
.%.last_cleanup: % |
43 | 48 |
$(bin)/in_place $< $(bin)/sort_map |
44 | 49 |
touch $@ |
45 | 50 |
$(call review_,$<) |
51 |
|
|
46 | 52 |
else |
47 | 53 |
$(inputCoreMaps): _always |
48 | 54 |
$(MAKE) $(@:%=.%.last_cleanup) |
Also available in: Unified diff
Added mappings/Veg+.terms.csv, which will serve the purpose of listing all available terms with their source. This will remove the need to store the sources in the mappings, where they are out of place and difficult to maintain during refactoring.