/[suikacvs]/markup/html/whatpm/Whatpm/Makefile
Suika

Contents of /markup/html/whatpm/Whatpm/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (hide annotations) (download)
Tue Oct 14 02:27:58 2008 UTC (16 years ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +7 -2 lines
++ whatpm/Whatpm/ChangeLog	14 Oct 2008 02:26:16 -0000
2008-10-14  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: New rule to make HTML/Tokenizer.pm is added.

	* HTML.pm.src: Tokenizer part moved to another file.

++ whatpm/Whatpm/HTML/ChangeLog	14 Oct 2008 02:25:46 -0000
2008-10-14  Wakaba  <wakaba@suika.fam.cx>

	* Tokenizer.pm.src: New file.

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.14 LANGUAGE_SUBTAG_REGISTRY = language-subtag-registry
9     LANGUAGE_SUBTAG_REGISTRY_PM = _LangTagReg.pm
10    
11     all: \
12     _update \
13     Charset-all CSS-all HTML-all XML-all \
14 wakaba 1.15 HTML/Tokenizer.pm \
15 wakaba 1.3 HTML.pm _NamedEntityList.pm _LinkTypeList.pm \
16 wakaba 1.7 ContentType.html HTML.html NanoDOM.html ContentChecker.html \
17 wakaba 1.13 CacheManifest.html WebIDL.html
18 wakaba 1.1
19 wakaba 1.9 Charset-all:
20     cd Charset && make all
21    
22 wakaba 1.5 CSS-all:
23     cd CSS && make all
24    
25 wakaba 1.8 HTML-all:
26     cd HTML && make all
27    
28 wakaba 1.12 XML-all:
29     cd XML && make all
30    
31 wakaba 1.14 update: update-remove-old _update
32    
33     _update:_NamedEntityList.pm _LinkTypeList.pm \
34     $(LANGUAGE_SUBTAG_REGISTRY_PM)
35 wakaba 1.6
36     update-remove-old: update-_NamedEntityList.pm \
37 wakaba 1.14 update-_LinkTypeList.pm \
38     update-$(LANGUAGE_SUBTAG_REGISTRY_PM)
39 wakaba 1.6
40 wakaba 1.1 HTML.pm: HTML.pm.src mkhtmlparser.pl
41     perl mkhtmlparser.pl $< > $@
42 wakaba 1.15 perl -I.. -c $@
43    
44     HTML/Tokenizer.pm: HTML/Tokenizer.pm.src mkhtmlparser.pl
45     perl mkhtmlparser.pl $< > $@
46     perl -I.. -c $@
47 wakaba 1.1
48     %.html: %.pm
49     $(POD2HTML) $< > $@
50    
51 wakaba 1.13 HTML.html ContentChecker.html CacheManifest.html WebIDL.html:: %.html: %.pod
52 wakaba 1.1 $(POD2HTML) $< > $@
53    
54 wakaba 1.3 _NamedEntityList.pm: mkentitylist.pl Entities.html
55     perl $< > $@.tmp
56     perl -c -w $@.tmp
57 wakaba 1.6 $(CP) $@.tmp $@
58     $(RMALL) $@.tmp
59    
60     update-_NamedEntityList.pm:
61     $(RMALL) Entities.html
62 wakaba 1.3
63     Entities.html:
64 wakaba 1.11 $(WGET) -O $@ http://www.whatwg.org/specs/web-apps/current-work/multipage/named.html
65 wakaba 1.3
66 wakaba 1.2 _LinkTypeList.pm: mklinktypelist.pl RelExtensions.html
67     perl $< > $@
68     perl -c -w $@
69    
70 wakaba 1.6 update-_LinkTypeList.pm:
71     $(RMALL) RelExtensions.html
72    
73 wakaba 1.2 RelExtensions.html:
74     $(WGET) http://wiki.whatwg.org/wiki/RelExtensions -O $@
75    
76 wakaba 1.14 $(LANGUAGE_SUBTAG_REGISTRY):
77     $(WGET) http://www.iana.org/assignments/language-subtag-registry -O $@
78    
79     $(LANGUAGE_SUBTAG_REGISTRY_PM): $(LANGUAGE_SUBTAG_REGISTRY) mklangreg.pl
80     perl mklangreg.pl $< > $@
81    
82     update-$(LANGUAGE_SUBTAG_REGISTRY_PM):
83     $(RMALL) $(LANGUAGE_SUBTAG_REGISTRY)
84    
85 wakaba 1.12 clean: Charset-clean CSS-clean HTML-clean XML-clean
86 wakaba 1.5 $(RMALL) *~ *.bak *.tmp
87 wakaba 1.14 $(RMALL) $(LANGUAGE_SUBTAG_REGISTRY)
88 wakaba 1.5
89 wakaba 1.9 Charset-clean:
90     cd Charset && make clean
91    
92 wakaba 1.5 CSS-clean:
93     cd CSS && make clean
94    
95 wakaba 1.8 HTML-clean:
96     cd HTML && make clean
97    
98 wakaba 1.12 XML-clean:
99     cd XML && make clean
100    
101 wakaba 1.1 ## License: Public Domain.
102 wakaba 1.15 ## $Date: 2008/09/18 02:39:16 $

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24