1 |
POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
2 |
--htmlroot ".." |
--htmlroot ".." |
3 |
WGET = wget |
WGET = wget |
4 |
|
CP = cp |
5 |
RM = rm |
RM = rm |
6 |
RMALL = $(RM) -fr |
RMALL = $(RM) -fr |
7 |
|
|
12 |
CSS-all: |
CSS-all: |
13 |
cd CSS && make all |
cd CSS && make all |
14 |
|
|
15 |
|
update: update-remove-old _NamedEntityList.pm _LinkTypeList.pm |
16 |
|
|
17 |
|
update-remove-old: update-_NamedEntityList.pm \ |
18 |
|
update-_LinkTypeList.pm |
19 |
|
|
20 |
HTML.pm: HTML.pm.src mkhtmlparser.pl |
HTML.pm: HTML.pm.src mkhtmlparser.pl |
21 |
perl mkhtmlparser.pl $< > $@ |
perl mkhtmlparser.pl $< > $@ |
22 |
perl -c $@ |
perl -c $@ |
30 |
_NamedEntityList.pm: mkentitylist.pl Entities.html |
_NamedEntityList.pm: mkentitylist.pl Entities.html |
31 |
perl $< > $@.tmp |
perl $< > $@.tmp |
32 |
perl -c -w $@.tmp |
perl -c -w $@.tmp |
33 |
cp $@.tmp $@ |
$(CP) $@.tmp $@ |
34 |
rm $@.tmp |
$(RMALL) $@.tmp |
35 |
|
|
36 |
|
update-_NamedEntityList.pm: |
37 |
|
$(RMALL) Entities.html |
38 |
|
|
39 |
Entities.html: |
Entities.html: |
40 |
$(WGET) -O $@ http://www.whatwg.org/specs/web-apps/current-work/multipage/section-entities.html |
$(WGET) -O $@ http://www.whatwg.org/specs/web-apps/current-work/multipage/section-entities.html |
43 |
perl $< > $@ |
perl $< > $@ |
44 |
perl -c -w $@ |
perl -c -w $@ |
45 |
|
|
46 |
|
update-_LinkTypeList.pm: |
47 |
|
$(RMALL) RelExtensions.html |
48 |
|
|
49 |
RelExtensions.html: |
RelExtensions.html: |
50 |
$(WGET) http://wiki.whatwg.org/wiki/RelExtensions -O $@ |
$(WGET) http://wiki.whatwg.org/wiki/RelExtensions -O $@ |
51 |
|
|