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

Contents of /markup/html/whatpm/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Jun 23 02:26:51 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.5: +6 -3 lines
++ whatpm/t/ChangeLog	23 Jun 2007 02:21:24 -0000
2007-06-23  Wakaba  <wakaba@suika.fam.cx>

	* Makefile, HTML-tokenizer.t, HTML-tree.t: New test
	files are added.

	* tokenize/, tree-construction/: Sync with latest html5lib
	trunk.

1 WGET = wget
2 MKDIR = mkdir
3
4 all: \
5 content-type-files \
6 tokenizer-files \
7 tree-construction-files \
8 content-checker-files
9
10 content-type-files: content-type-result.txt
11
12 content-type-result.txt: always
13 cd .. && perl t/ContentType.t &> t/$@
14
15 tokenizer-files: tokenizer \
16 tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \
17 tokenizer/escapeFlag.test \
18 tokenizer/LICENSE \
19 tokenizer-result.txt
20
21 tokenizer:
22 $(MKDIR) $@
23
24 tokenizer/%.test:
25 $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@
26
27 tokenizer/LICENSE:
28 $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE
29
30 tokenizer-result.txt: always
31 cd .. && perl t/HTML-tokenizer.t &> t/$@
32
33 tree-construction-files: tree-construction \
34 tree-construction/tests1.dat \
35 tree-construction/tests2.dat \
36 tree-construction/tests3.dat \
37 tree-construction/tests4.dat \
38 tree-construction/tests5.dat \
39 tree-construction/tests6.dat \
40 tree-construction/LICENSE \
41 tree-construction-result.txt
42
43 tree-construction:
44 $(MKDIR) $@
45
46 tree-construction/%.dat:
47 $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@
48
49 tree-construction/LICENSE:
50 $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE
51
52 tree-construction-result.txt: always
53 cd .. && perl t/HTML-tree.t &> t/$@
54
55 content-checker-files: content-checker-result.txt
56
57 content-checker-result.txt: always
58 cd .. && perl t/ContentChecker.t &> t/$@
59
60 always:
61
62 ## License: Public Domain.
63 ## $Date: 2007/06/23 02:09:06 $

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24