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