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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Wed Oct 17 10:46:26 2007 UTC (17 years ago) by wakaba
Branch: MAIN
Changes since 1.5: +15 -3 lines
++ whatpm/Whatpm/ChangeLog	17 Oct 2007 10:45:53 -0000
	* Makefile (clean): New rule.

	* NanoDOM.pm (public_id, system_id): New attributes.

2007-10-17  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24