Revision 3823
Added by Aaron Marcuse-Kubitza over 12 years ago
Makefile | ||
---|---|---|
3 | 3 |
|
4 | 4 |
##### Vars/functions |
5 | 5 |
|
6 |
# Make |
|
7 |
SHELL := /bin/bash |
|
8 |
|
|
6 | 9 |
# Paths |
7 | 10 |
bin := ../bin |
8 | 11 |
inputCoreMaps := DwC1-DwC2.specimens.csv DwC2-VegBIEN.specimens.csv\ |
... | ... | |
26 | 29 |
|
27 | 30 |
##### General targets |
28 | 31 |
|
29 |
all: _always $(inputCoreMaps) dwc_maps self_maps ; |
|
32 |
all: _always $(inputCoreMaps) dwc_maps vegcsv_maps self_maps ;
|
|
30 | 33 |
|
31 | 34 |
clean: _always |
32 | 35 |
$(RM) $(all) |
... | ... | |
92 | 95 |
dwc_maps: _always $(dwcMaps) ; |
93 | 96 |
|
94 | 97 |
all += $(dwcMaps) |
98 |
|
|
99 |
##### VegCSV |
|
100 |
|
|
101 |
vegcsvMaps := |
|
102 |
|
|
103 |
VegX-VegCSV.stems.csv: # initially autogenerated |
|
104 |
env only_one=1 $(bin)/join <for_review/VegX-VegBIEN.stems.csv \ |
|
105 |
for_review/VegBIEN-DwC2.specimens.csv\ |
|
106 |
|$(bin)/remove_empty\ |
|
107 |
|$(bin)/union VegX.self.stems.csv\ |
|
108 |
|$(bin)/union <(echo ',VegCSV[DwC]')\ |
|
109 |
|$(bin)/review 1\ |
|
110 |
|$(bin)/sort_map >$@ |
|
111 |
vegcsvMaps += VegX-VegCSV.stems.csv |
|
112 |
|
|
113 |
vegcsv_maps: _always $(vegcsvMaps) ; |
|
114 |
|
|
115 |
all += $(vegcsvMaps) |
Also available in: Unified diff
Added mappings/VegX-VegCSV.stems.csv. The initial version is autogenerated by joining the simplified VegBIEN XPaths of related maps.