1 |
wakaba |
1.1 |
WGET = wget |
2 |
wakaba |
1.2 |
MKDIR = mkdir |
3 |
wakaba |
1.1 |
|
4 |
wakaba |
1.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 |
wakaba |
1.1 |
|
15 |
wakaba |
1.2 |
tokenizer-files: tokenizer \ |
16 |
wakaba |
1.3 |
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
17 |
wakaba |
1.5 |
tokenizer/LICENSE \ |
18 |
wakaba |
1.3 |
tokenizer-result.txt |
19 |
wakaba |
1.1 |
|
20 |
|
|
tokenizer: |
21 |
wakaba |
1.2 |
$(MKDIR) $@ |
22 |
|
|
|
23 |
|
|
tokenizer/%.test: |
24 |
|
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@ |
25 |
wakaba |
1.1 |
|
26 |
wakaba |
1.5 |
tokenizer/LICENSE: |
27 |
|
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
28 |
|
|
|
29 |
wakaba |
1.3 |
tokenizer-result.txt: always |
30 |
|
|
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
31 |
|
|
|
32 |
wakaba |
1.2 |
tree-construction-files: tree-construction \ |
33 |
|
|
tree-construction/tests1.dat \ |
34 |
|
|
tree-construction/tests2.dat \ |
35 |
|
|
tree-construction/tests3.dat \ |
36 |
wakaba |
1.3 |
tree-construction/tests4.dat \ |
37 |
wakaba |
1.5 |
tree-construction/LICENSE \ |
38 |
wakaba |
1.3 |
tree-construction-result.txt |
39 |
wakaba |
1.2 |
|
40 |
|
|
tree-construction: |
41 |
|
|
$(MKDIR) $@ |
42 |
wakaba |
1.1 |
|
43 |
wakaba |
1.2 |
tree-construction/%.dat: |
44 |
wakaba |
1.1 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@ |
45 |
wakaba |
1.2 |
|
46 |
wakaba |
1.5 |
tree-construction/LICENSE: |
47 |
|
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
48 |
|
|
|
49 |
wakaba |
1.3 |
tree-construction-result.txt: always |
50 |
|
|
cd .. && perl t/HTML-tree.t &> t/$@ |
51 |
|
|
|
52 |
wakaba |
1.4 |
content-checker-files: content-checker-result.txt |
53 |
|
|
|
54 |
|
|
content-checker-result.txt: always |
55 |
|
|
cd .. && perl t/ContentChecker.t &> t/$@ |
56 |
|
|
|
57 |
wakaba |
1.3 |
always: |
58 |
|
|
|
59 |
wakaba |
1.2 |
## License: Public Domain. |
60 |
wakaba |
1.5 |
## $Date: 2007/05/20 11:12:25 $ |