1 |
wakaba |
1.1 |
WGET = wget |
2 |
wakaba |
1.2 |
MKDIR = mkdir |
3 |
wakaba |
1.8 |
RM = rm |
4 |
|
|
RMALL = $(RM) -frv |
5 |
wakaba |
1.1 |
|
6 |
wakaba |
1.4 |
all: \ |
7 |
|
|
content-type-files \ |
8 |
|
|
tokenizer-files \ |
9 |
|
|
tree-construction-files \ |
10 |
wakaba |
1.13 |
xml-result.txt \ |
11 |
wakaba |
1.14 |
swml-result.txt \ |
12 |
wakaba |
1.10 |
content-checker-files \ |
13 |
|
|
langtag-files |
14 |
wakaba |
1.4 |
|
15 |
wakaba |
1.8 |
update: clean-remote-files \ |
16 |
|
|
tokenizer-remote-files \ |
17 |
|
|
tree-construction-remote-files |
18 |
|
|
|
19 |
wakaba |
1.4 |
content-type-files: content-type-result.txt |
20 |
|
|
|
21 |
|
|
content-type-result.txt: always |
22 |
|
|
cd .. && perl t/ContentType.t &> t/$@ |
23 |
wakaba |
1.1 |
|
24 |
wakaba |
1.8 |
tokenizer-files: tokenizer-remote-files tokenizer-result.txt |
25 |
|
|
|
26 |
|
|
tokenizer-remote-files: tokenizer \ |
27 |
wakaba |
1.3 |
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
28 |
wakaba |
1.6 |
tokenizer/escapeFlag.test \ |
29 |
wakaba |
1.7 |
tokenizer/test3.test \ |
30 |
|
|
tokenizer/test4.test \ |
31 |
wakaba |
1.9 |
tokenizer/xmlViolation.test \ |
32 |
|
|
tokenizer/entities.test \ |
33 |
wakaba |
1.8 |
tokenizer/LICENSE |
34 |
wakaba |
1.1 |
|
35 |
|
|
tokenizer: |
36 |
wakaba |
1.2 |
$(MKDIR) $@ |
37 |
|
|
|
38 |
|
|
tokenizer/%.test: |
39 |
wakaba |
1.6 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
40 |
wakaba |
1.1 |
|
41 |
wakaba |
1.5 |
tokenizer/LICENSE: |
42 |
|
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
43 |
|
|
|
44 |
wakaba |
1.3 |
tokenizer-result.txt: always |
45 |
|
|
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
46 |
|
|
|
47 |
wakaba |
1.8 |
tree-construction-files: tree-construction-remote-files \ |
48 |
|
|
tree-construction-result.txt |
49 |
|
|
|
50 |
|
|
tree-construction-remote-files: tree-construction \ |
51 |
wakaba |
1.2 |
tree-construction/tests1.dat \ |
52 |
|
|
tree-construction/tests2.dat \ |
53 |
|
|
tree-construction/tests3.dat \ |
54 |
wakaba |
1.3 |
tree-construction/tests4.dat \ |
55 |
wakaba |
1.6 |
tree-construction/tests5.dat \ |
56 |
|
|
tree-construction/tests6.dat \ |
57 |
wakaba |
1.9 |
tree-construction/tests7.dat \ |
58 |
wakaba |
1.11 |
tree-construction/tests8.dat \ |
59 |
|
|
tree-construction/tests9.dat \ |
60 |
|
|
tree-construction/tests10.dat \ |
61 |
|
|
tree-construction/tests11.dat \ |
62 |
|
|
tree-construction/tests12.dat \ |
63 |
wakaba |
1.8 |
tree-construction/LICENSE |
64 |
wakaba |
1.2 |
|
65 |
|
|
tree-construction: |
66 |
|
|
$(MKDIR) $@ |
67 |
wakaba |
1.1 |
|
68 |
wakaba |
1.2 |
tree-construction/%.dat: |
69 |
wakaba |
1.6 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
70 |
wakaba |
1.2 |
|
71 |
wakaba |
1.5 |
tree-construction/LICENSE: |
72 |
|
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
73 |
|
|
|
74 |
wakaba |
1.3 |
tree-construction-result.txt: always |
75 |
|
|
cd .. && perl t/HTML-tree.t &> t/$@ |
76 |
|
|
|
77 |
wakaba |
1.13 |
xml-result.txt: always |
78 |
|
|
cd .. && perl t/XML-Parser.t &> t/$@ |
79 |
|
|
|
80 |
wakaba |
1.14 |
swml-result.txt: always |
81 |
|
|
cd .. && perl t/SWML-Parser.t &> t/$@ |
82 |
|
|
|
83 |
wakaba |
1.10 |
content-checker-files: content-checker-result.txt \ |
84 |
wakaba |
1.12 |
content-checker-atom-result.txt \ |
85 |
|
|
content-checker-xml-result.txt |
86 |
wakaba |
1.4 |
|
87 |
|
|
content-checker-result.txt: always |
88 |
|
|
cd .. && perl t/ContentChecker.t &> t/$@ |
89 |
|
|
|
90 |
wakaba |
1.10 |
content-checker-atom-result.txt: always |
91 |
|
|
cd .. && perl t/ContentChecker-Atom.t &> t/$@ |
92 |
|
|
|
93 |
wakaba |
1.12 |
content-checker-xml-result.txt: always |
94 |
|
|
cd .. && perl t/ContentChecker-XML.t &> t/$@ |
95 |
|
|
|
96 |
wakaba |
1.10 |
langtag-files: langtag-result.txt |
97 |
|
|
|
98 |
|
|
langtag-result.txt: always |
99 |
|
|
cd .. && perl t/LangTag.t &> t/$@ |
100 |
|
|
|
101 |
wakaba |
1.8 |
clean-remote-files: |
102 |
|
|
$(RMALL) tokenizer/*.test tokenizer/LICENSE |
103 |
|
|
$(RMALL) tree-construction/*.dat tree-construction/LICENSE |
104 |
|
|
|
105 |
wakaba |
1.3 |
always: |
106 |
|
|
|
107 |
wakaba |
1.2 |
## License: Public Domain. |
108 |
wakaba |
1.14 |
## $Date: 2008/10/14 09:00:57 $ |