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