1 |
WGET = wget |
WGET = wget |
2 |
|
MKDIR = mkdir |
3 |
|
|
4 |
all: tokenizer-test |
all: tokenizer-files tree-construction-files |
5 |
|
|
6 |
tokenizer-test: tokenizer-files |
tokenizer-files: tokenizer \ |
7 |
|
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
8 |
|
tokenizer-result.txt |
9 |
|
|
10 |
tokenizer: |
tokenizer: |
11 |
mkdir $@ |
$(MKDIR) $@ |
|
|
|
|
tokenizer-files: tokenizer \ |
|
|
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test |
|
12 |
|
|
13 |
tokenizer/%.test: |
tokenizer/%.test: |
14 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@ |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@ |
15 |
|
|
16 |
|
tokenizer-result.txt: always |
17 |
|
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
18 |
|
|
19 |
|
tree-construction-files: tree-construction \ |
20 |
|
tree-construction/tests1.dat \ |
21 |
|
tree-construction/tests2.dat \ |
22 |
|
tree-construction/tests3.dat \ |
23 |
|
tree-construction/tests4.dat \ |
24 |
|
tree-construction-result.txt |
25 |
|
|
26 |
|
tree-construction: |
27 |
|
$(MKDIR) $@ |
28 |
|
|
29 |
|
tree-construction/%.dat: |
30 |
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@ |
31 |
|
|
32 |
|
tree-construction-result.txt: always |
33 |
|
cd .. && perl t/HTML-tree.t &> t/$@ |
34 |
|
|
35 |
|
always: |
36 |
|
|
37 |
|
## License: Public Domain. |
38 |
|
## $Date$ |