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