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/test3.test \ |
19 |
tokenizer/test4.test \ |
20 |
tokenizer/LICENSE \ |
21 |
tokenizer-result.txt |
22 |
|
23 |
tokenizer: |
24 |
$(MKDIR) $@ |
25 |
|
26 |
tokenizer/%.test: |
27 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
28 |
|
29 |
tokenizer/LICENSE: |
30 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
31 |
|
32 |
tokenizer-result.txt: always |
33 |
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
34 |
|
35 |
tree-construction-files: tree-construction \ |
36 |
tree-construction/tests1.dat \ |
37 |
tree-construction/tests2.dat \ |
38 |
tree-construction/tests3.dat \ |
39 |
tree-construction/tests4.dat \ |
40 |
tree-construction/tests5.dat \ |
41 |
tree-construction/tests6.dat \ |
42 |
tree-construction/LICENSE \ |
43 |
tree-construction-result.txt |
44 |
|
45 |
tree-construction: |
46 |
$(MKDIR) $@ |
47 |
|
48 |
tree-construction/%.dat: |
49 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
50 |
|
51 |
tree-construction/LICENSE: |
52 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
53 |
|
54 |
tree-construction-result.txt: always |
55 |
cd .. && perl t/HTML-tree.t &> t/$@ |
56 |
|
57 |
content-checker-files: content-checker-result.txt |
58 |
|
59 |
content-checker-result.txt: always |
60 |
cd .. && perl t/ContentChecker.t &> t/$@ |
61 |
|
62 |
always: |
63 |
|
64 |
## License: Public Domain. |
65 |
## $Date: 2007/06/23 02:26:51 $ |