Revision 1812
Added by Aaron Marcuse-Kubitza over 12 years ago
mappings/Makefile | ||
---|---|---|
12 | 12 |
|
13 | 13 |
join = env header_num=1 $(bin)/join_union_sort |
14 | 14 |
selfMap = $(bin)/cols 0 0 |
15 |
mkSelfMap = $(selfMap) <$<|$(bin)/sort_map >$@ |
|
15 | 16 |
|
16 | 17 |
define chRoot |
17 | 18 |
$(bin)/ch_root <$< >$@ |
... | ... | |
49 | 50 |
|
50 | 51 |
##### DwC |
51 | 52 |
|
52 |
joinMaps :=
|
|
53 |
dwcMaps :=
|
|
53 | 54 |
|
54 | 55 |
DwC.cs-VegBIEN.specimens.csv: DwC1-DwC2.specimens.csv DwC2-VegBIEN.specimens.csv |
55 | 56 |
$(join) <$+ >$@ |
56 |
joinMaps += DwC.cs-VegBIEN.specimens.csv
|
|
57 |
dwcMaps += DwC.cs-VegBIEN.specimens.csv
|
|
57 | 58 |
|
58 | 59 |
DwC-VegBIEN.specimens.csv: DwC.cs-VegBIEN.specimens.csv |
59 | 60 |
$(bin)/ci_map $< >$@ |
60 |
joinMaps += DwC-VegBIEN.specimens.csv
|
|
61 |
dwcMaps += DwC-VegBIEN.specimens.csv
|
|
61 | 62 |
|
62 | 63 |
DwC.self.specimens.csv: DwC-VegBIEN.specimens.csv |
63 |
$(selfMap) <$<|$(bin)/sort_map >$@
|
|
64 |
joinMaps += DwC.self.specimens.csv
|
|
64 |
$(mkSelfMap)
|
|
65 |
dwcMaps += DwC.self.specimens.csv
|
|
65 | 66 |
|
66 |
join_maps: $(joinMaps) ;
|
|
67 |
join_maps: $(dwcMaps) ;
|
|
67 | 68 |
|
68 |
all += $(joinMaps)
|
|
69 |
all += $(dwcMaps)
|
|
69 | 70 |
|
70 | 71 |
##### VegX |
71 | 72 |
|
72 |
chRootMaps :=
|
|
73 |
vegxMaps :=
|
|
73 | 74 |
|
75 |
#VegX.self.organisms.csv: VegX-VegBIEN.organisms.csv |
|
76 |
# $(mkSelfMap) |
|
77 |
#vegxMaps += VegX.self.organisms.csv |
|
78 |
|
|
74 | 79 |
VegX-VegBIEN.plots.csv: VegX-VegBIEN.organisms.csv |
75 | 80 |
env \ |
76 | 81 |
left_in_root='/*s/individualOrganismObservation/*ID->/*s/plotObservation' \ |
... | ... | |
78 | 83 |
right_in_root='/taxonoccurrence/*_id/locationevent' \ |
79 | 84 |
right_out_root='/locationevent' \ |
80 | 85 |
$(chRoot) |
81 |
chRootMaps += VegX-VegBIEN.plots.csv
|
|
86 |
vegxMaps += VegX-VegBIEN.plots.csv
|
|
82 | 87 |
|
83 | 88 |
VegX-VegBIEN.stems.csv: VegX-VegBIEN.organisms.csv |
84 | 89 |
env \ |
... | ... | |
87 | 92 |
right_in_root='/taxonoccurrence/aggregateoccurrence/*_id/plantobservation/stemobservation' \ |
88 | 93 |
right_out_root='/stemobservation' \ |
89 | 94 |
$(chRoot) |
90 |
chRootMaps += VegX-VegBIEN.plots.csv
|
|
95 |
vegxMaps += VegX-VegBIEN.plots.csv
|
|
91 | 96 |
|
92 |
ch_root_maps: $(chRootMaps) ;
|
|
97 |
ch_root_maps: $(vegxMaps) ;
|
|
93 | 98 |
|
94 |
all += $(chRootMaps) |
|
99 |
all += $(vegxMaps) |
Also available in: Unified diff
mappings/Makefile: Renamed joinMaps to dwcMaps and chrootMaps to vegxMaps. Added commented-out code to create VegX.self.organisms.csv (not ready to check in yet because it affects many dependent maps).