Revision 7522
Added by Aaron Marcuse-Kubitza about 12 years ago
Makefile | ||
---|---|---|
27 | 27 |
php -r 'fpassthru(fopen("https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore", "r"));' >$@ |
28 | 28 |
|
29 | 29 |
$(vocab): VegCore.htm |
30 |
(echo VegCore; $(sed) -n 's/^<h[2-4][^>]*>(<img [^>]*>)? *<a href="#[^>]*>(([a-z]|[A-Z]{2})[^<]*)<\/a>.*<a href="#[^"-]+".*$$/\2/p'\ |
|
30 |
(echo VegCore; $(sed) -n 's/^<h[2-4][^>]*>(<img [^>]*>)? *<a href="#[^>]*>(\??([a-z]|[A-Z]{2})[^<]*)<\/a>.*<a href="#[^"-]+".*$$/\2/p'\
|
|
31 | 31 |
|sort -u) <$< >$@ |
32 | 32 |
|
33 | 33 |
$(thesaurus): VegCore.htm |
Also available in: Unified diff
mappings/Makefile: VegCore.vocab.csv: Added back ambiguous terms, so that the vocabulary contains all terms defined by VegCore, regardless of whether they are ambiguous or unambiguous terms