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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Nov 19 12:18:27 2007 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.8: +9 -3 lines
++ ChangeLog	19 Nov 2007 12:16:52 -0000
2007-11-19  Wakaba  <wakaba@suika.fam.cx>

	* readme.en.html: Link to |Whatpm::Charset::UniversalCharDet|.

++ whatpm/Whatpm/ChangeLog	19 Nov 2007 12:17:47 -0000
2007-11-19  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm.src (parse_byte_string): Detect charset
	by universalchardet if charset parameter is not specified.

	* Makefile (Charset-all, Charset-clean): New rules.

++ whatpm/Whatpm/Charset/ChangeLog	19 Nov 2007 11:54:20 -0000
2007-11-19  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: New file.

	* UniversalCharDet.pm, UniversalCharDet.pod: New files.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24