Revision 1270
Added by Aaron Marcuse-Kubitza almost 13 years ago
Makefile | ||
---|---|---|
40 | 40 |
|
41 | 41 |
##### Maps generated with join |
42 | 42 |
|
43 |
join = env header_num=1 $(bin)/join_union_sort |
|
44 |
selfMap = $(bin)/cols 0 0 |
|
45 |
|
|
43 | 46 |
joinMaps := |
44 | 47 |
|
45 |
DwC-VegBIEN.specimens.csv: DwC1-DwC2.specimens.csv DwC2-VegBIEN.specimens.csv |
|
46 |
env header_num=1 $(bin)/join_union_sort <$+ >$@ |
|
48 |
DwC2.ci-VegBIEN.specimens.csv: DwC2-VegBIEN.specimens.csv |
|
49 |
$(selfMap) <$<|$(bin)/ucase_first 0|$(join) $< >$@ |
|
50 |
joinMaps += DwC2.ci-VegBIEN.specimens.csv |
|
51 |
|
|
52 |
DwC-VegBIEN.specimens.csv: DwC1-DwC2.specimens.csv DwC2.ci-VegBIEN.specimens.csv |
|
53 |
$(join) <$+ >$@ |
|
47 | 54 |
joinMaps += DwC-VegBIEN.specimens.csv |
48 | 55 |
|
49 | 56 |
DwC.self.specimens.csv: DwC-VegBIEN.specimens.csv |
50 |
$(bin)/cols 0 0 <$< >$@
|
|
57 |
$(selfMap) <$< >$@
|
|
51 | 58 |
joinMaps += DwC.self.specimens.csv |
52 | 59 |
|
53 | 60 |
join_maps: $(joinMaps) ; |
Also available in: Unified diff
Added autogenerated mappings/DwC2.ci-VegBIEN.specimens.csv. Use it to include DwC2 fields with first letter uppercased in the full DwC mapping, so that datasources that use DwC2 terms with a different case can still use the DwC2 mapping.