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 |
|
|
content-checker-files |
11 |
|
|
|
12 |
wakaba |
1.8 |
update: clean-remote-files \ |
13 |
|
|
tokenizer-remote-files \ |
14 |
|
|
tree-construction-remote-files |
15 |
|
|
|
16 |
wakaba |
1.4 |
content-type-files: content-type-result.txt |
17 |
|
|
|
18 |
|
|
content-type-result.txt: always |
19 |
|
|
cd .. && perl t/ContentType.t &> t/$@ |
20 |
wakaba |
1.1 |
|
21 |
wakaba |
1.8 |
tokenizer-files: tokenizer-remote-files tokenizer-result.txt |
22 |
|
|
|
23 |
|
|
tokenizer-remote-files: tokenizer \ |
24 |
wakaba |
1.3 |
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
25 |
wakaba |
1.6 |
tokenizer/escapeFlag.test \ |
26 |
wakaba |
1.7 |
tokenizer/test3.test \ |
27 |
|
|
tokenizer/test4.test \ |
28 |
wakaba |
1.9 |
tokenizer/xmlViolation.test \ |
29 |
|
|
tokenizer/entities.test \ |
30 |
wakaba |
1.8 |
tokenizer/LICENSE |
31 |
wakaba |
1.1 |
|
32 |
|
|
tokenizer: |
33 |
wakaba |
1.2 |
$(MKDIR) $@ |
34 |
|
|
|
35 |
|
|
tokenizer/%.test: |
36 |
wakaba |
1.6 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
37 |
wakaba |
1.1 |
|
38 |
wakaba |
1.5 |
tokenizer/LICENSE: |
39 |
|
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
40 |
|
|
|
41 |
wakaba |
1.3 |
tokenizer-result.txt: always |
42 |
|
|
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
43 |
|
|
|
44 |
wakaba |
1.8 |
tree-construction-files: tree-construction-remote-files \ |
45 |
|
|
tree-construction-result.txt |
46 |
|
|
|
47 |
|
|
tree-construction-remote-files: tree-construction \ |
48 |
wakaba |
1.2 |
tree-construction/tests1.dat \ |
49 |
|
|
tree-construction/tests2.dat \ |
50 |
|
|
tree-construction/tests3.dat \ |
51 |
wakaba |
1.3 |
tree-construction/tests4.dat \ |
52 |
wakaba |
1.6 |
tree-construction/tests5.dat \ |
53 |
|
|
tree-construction/tests6.dat \ |
54 |
wakaba |
1.9 |
tree-construction/tests7.dat \ |
55 |
wakaba |
1.8 |
tree-construction/LICENSE |
56 |
wakaba |
1.2 |
|
57 |
|
|
tree-construction: |
58 |
|
|
$(MKDIR) $@ |
59 |
wakaba |
1.1 |
|
60 |
wakaba |
1.2 |
tree-construction/%.dat: |
61 |
wakaba |
1.6 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
62 |
wakaba |
1.2 |
|
63 |
wakaba |
1.5 |
tree-construction/LICENSE: |
64 |
|
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
65 |
|
|
|
66 |
wakaba |
1.3 |
tree-construction-result.txt: always |
67 |
|
|
cd .. && perl t/HTML-tree.t &> t/$@ |
68 |
|
|
|
69 |
wakaba |
1.4 |
content-checker-files: content-checker-result.txt |
70 |
|
|
|
71 |
|
|
content-checker-result.txt: always |
72 |
|
|
cd .. && perl t/ContentChecker.t &> t/$@ |
73 |
|
|
|
74 |
wakaba |
1.8 |
clean-remote-files: |
75 |
|
|
$(RMALL) tokenizer/*.test tokenizer/LICENSE |
76 |
|
|
$(RMALL) tree-construction/*.dat tree-construction/LICENSE |
77 |
|
|
|
78 |
wakaba |
1.3 |
always: |
79 |
|
|
|
80 |
wakaba |
1.2 |
## License: Public Domain. |
81 |
wakaba |
1.9 |
## $Date: 2007/09/30 11:38:18 $ |