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.5 |
RM = rm |
5 |
|
|
RMALL = $(RM) -fr |
6 |
wakaba |
1.1 |
|
7 |
wakaba |
1.5 |
all: CSS-all \ |
8 |
wakaba |
1.3 |
HTML.pm _NamedEntityList.pm _LinkTypeList.pm \ |
9 |
wakaba |
1.4 |
ContentType.html HTML.html NanoDOM.html ContentChecker.html |
10 |
wakaba |
1.1 |
|
11 |
wakaba |
1.5 |
CSS-all: |
12 |
|
|
cd CSS && make all |
13 |
|
|
|
14 |
wakaba |
1.1 |
HTML.pm: HTML.pm.src mkhtmlparser.pl |
15 |
|
|
perl mkhtmlparser.pl $< > $@ |
16 |
|
|
perl -c $@ |
17 |
|
|
|
18 |
|
|
%.html: %.pm |
19 |
|
|
$(POD2HTML) $< > $@ |
20 |
|
|
|
21 |
wakaba |
1.4 |
HTML.html ContentChecker.html:: %.html: %.pod |
22 |
wakaba |
1.1 |
$(POD2HTML) $< > $@ |
23 |
|
|
|
24 |
wakaba |
1.3 |
_NamedEntityList.pm: mkentitylist.pl Entities.html |
25 |
|
|
perl $< > $@.tmp |
26 |
|
|
perl -c -w $@.tmp |
27 |
|
|
cp $@.tmp $@ |
28 |
|
|
rm $@.tmp |
29 |
|
|
|
30 |
|
|
Entities.html: |
31 |
|
|
$(WGET) -O $@ http://www.whatwg.org/specs/web-apps/current-work/multipage/section-entities.html |
32 |
|
|
|
33 |
wakaba |
1.2 |
_LinkTypeList.pm: mklinktypelist.pl RelExtensions.html |
34 |
|
|
perl $< > $@ |
35 |
|
|
perl -c -w $@ |
36 |
|
|
|
37 |
|
|
RelExtensions.html: |
38 |
|
|
$(WGET) http://wiki.whatwg.org/wiki/RelExtensions -O $@ |
39 |
|
|
|
40 |
wakaba |
1.5 |
clean: CSS-clean |
41 |
|
|
$(RMALL) *~ *.bak *.tmp |
42 |
|
|
|
43 |
|
|
CSS-clean: |
44 |
|
|
cd CSS && make clean |
45 |
|
|
|
46 |
wakaba |
1.1 |
## License: Public Domain. |
47 |
wakaba |
1.5 |
## $Date: 2007/08/06 10:56:50 $ |