Revision 6893
Added by Aaron Marcuse-Kubitza about 12 years ago
Makefile | ||
---|---|---|
23 | 23 |
VegCore.htm: |
24 | 24 |
php -r 'fpassthru(fopen("https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore", "r"));' >$@ |
25 | 25 |
|
26 |
VegCore.csv: VegCore.htm |
|
27 |
$(sed) -n 's/^.*<a name="([^"]+)">.*$$/\1/p' <$< >$@ |
|
26 |
VegCore.csv: VegCore.htm VegCore.tables.csv |
|
27 |
<$< $(sed) -n 's/^.*<a name="([^"]+)">.*$$/\1/p'\ |
|
28 |
|$(bin)/filter_out_ci 0 VegCore.tables.csv >$@ |
|
28 | 29 |
|
29 | 30 |
VegCore.tables.csv: VegCore.htm |
30 | 31 |
<$< $(sed) -n 's/^.*<h1 *><a href="#[^>]+>([^<]+).*$$/\1/p'\ |
Also available in: Unified diff
mappings/Makefile: VegCore.csv: Filter out the VegCore tables so they are not matched as terms. This is necessary because some terms have the same name as a table, but the term should be the match rather than the table.