1 |
wakaba |
1.1 |
POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
2 |
|
|
--htmlroot ".." |
3 |
wakaba |
1.2 |
WGET = wget |
4 |
wakaba |
1.1 |
|
5 |
wakaba |
1.3 |
all: \ |
6 |
|
|
HTML.pm _NamedEntityList.pm _LinkTypeList.pm \ |
7 |
wakaba |
1.4 |
ContentType.html HTML.html NanoDOM.html ContentChecker.html |
8 |
wakaba |
1.1 |
|
9 |
|
|
HTML.pm: HTML.pm.src mkhtmlparser.pl |
10 |
|
|
perl mkhtmlparser.pl $< > $@ |
11 |
|
|
perl -c $@ |
12 |
|
|
|
13 |
|
|
%.html: %.pm |
14 |
|
|
$(POD2HTML) $< > $@ |
15 |
|
|
|
16 |
wakaba |
1.4 |
HTML.html ContentChecker.html:: %.html: %.pod |
17 |
wakaba |
1.1 |
$(POD2HTML) $< > $@ |
18 |
|
|
|
19 |
wakaba |
1.3 |
_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 |
wakaba |
1.2 |
_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 |
wakaba |
1.1 |
## License: Public Domain. |
36 |
wakaba |
1.4 |
## $Date: 2007/06/23 07:42:11 $ |