1 |
POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
2 |
--htmlroot ".." |
3 |
WGET = wget |
4 |
|
5 |
all: \ |
6 |
HTML.pm _NamedEntityList.pm _LinkTypeList.pm \ |
7 |
ContentType.html HTML.html NanoDOM.html ContentChecker.html |
8 |
|
9 |
HTML.pm: HTML.pm.src mkhtmlparser.pl |
10 |
perl mkhtmlparser.pl $< > $@ |
11 |
perl -c $@ |
12 |
|
13 |
%.html: %.pm |
14 |
$(POD2HTML) $< > $@ |
15 |
|
16 |
HTML.html ContentChecker.html:: %.html: %.pod |
17 |
$(POD2HTML) $< > $@ |
18 |
|
19 |
_NamedEntityList.pm: mkentitylist.pl Entities.html |
20 |
perl $< > $@.tmp |
21 |
perl -c -w $@.tmp |
22 |
cp $@.tmp $@ |
23 |
rm $@.tmp |
24 |
|
25 |
Entities.html: |
26 |
$(WGET) -O $@ http://www.whatwg.org/specs/web-apps/current-work/multipage/section-entities.html |
27 |
|
28 |
_LinkTypeList.pm: mklinktypelist.pl RelExtensions.html |
29 |
perl $< > $@ |
30 |
perl -c -w $@ |
31 |
|
32 |
RelExtensions.html: |
33 |
$(WGET) http://wiki.whatwg.org/wiki/RelExtensions -O $@ |
34 |
|
35 |
## License: Public Domain. |
36 |
## $Date: 2007/06/23 07:42:11 $ |