Revision 7480
Added by Aaron Marcuse-Kubitza almost 12 years ago
Makefile | ||
---|---|---|
28 | 28 |
php -r 'fpassthru(fopen("https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore", "r"));' >$@ |
29 | 29 |
|
30 | 30 |
VegCore.csv: VegCore.htm |
31 |
(echo VegCore; $(sed) -n 's/^.*<h[24][^>]*><a href="#[^>]*>(([a-z]|[A-Z]{2})[^<]*)<\/a><a href="#[^"-]+".*$$/\1/p')\
|
|
32 |
<$< >$@ |
|
31 |
(echo VegCore; $(sed) -n 's/^.*<h[24][^>]*><a href="#[^>]*>(([a-z]|[A-Z]{2})[^<]*)<\/a><a href="#[^"-]+".*$$/\1/p'\ |
|
32 |
|sort -u) <$< >$@
|
|
33 | 33 |
|
34 | 34 |
Veg+-VegCore.csv: VegCore.htm |
35 | 35 |
(echo "Veg+,VegCore"; $(bin)/redmine_synonyms|grep -vE '^\??[A-Z][a-z]')\ |
Also available in: Unified diff
mappings/Makefile: VegCore.csv: Sort terms by name so that reordering terms in the VegCore data dictionary does not cause VegCore.csv to change. This makes it much easier to identify terms that were accidentally deleted during a data dictionary refactoring.