1 |
WGET = wget |
WGET = wget |
2 |
MKDIR = mkdir |
MKDIR = mkdir |
3 |
|
RM = rm |
4 |
|
RMALL = $(RM) -frv |
5 |
|
|
6 |
all: tokenizer-files tree-construction-files |
all: \ |
7 |
|
content-type-files \ |
8 |
|
tokenizer-files \ |
9 |
|
tree-construction-files \ |
10 |
|
content-checker-files \ |
11 |
|
langtag-files |
12 |
|
|
13 |
tokenizer-files: tokenizer \ |
update: clean-remote-files \ |
14 |
|
tokenizer-remote-files \ |
15 |
|
tree-construction-remote-files |
16 |
|
|
17 |
|
content-type-files: content-type-result.txt |
18 |
|
|
19 |
|
content-type-result.txt: always |
20 |
|
cd .. && perl t/ContentType.t &> t/$@ |
21 |
|
|
22 |
|
tokenizer-files: tokenizer-remote-files tokenizer-result.txt |
23 |
|
|
24 |
|
tokenizer-remote-files: tokenizer \ |
25 |
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
26 |
tokenizer-result.txt |
tokenizer/escapeFlag.test \ |
27 |
|
tokenizer/test3.test \ |
28 |
|
tokenizer/test4.test \ |
29 |
|
tokenizer/xmlViolation.test \ |
30 |
|
tokenizer/entities.test \ |
31 |
|
tokenizer/LICENSE |
32 |
|
|
33 |
tokenizer: |
tokenizer: |
34 |
$(MKDIR) $@ |
$(MKDIR) $@ |
35 |
|
|
36 |
tokenizer/%.test: |
tokenizer/%.test: |
37 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@ |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
38 |
|
|
39 |
|
tokenizer/LICENSE: |
40 |
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
41 |
|
|
42 |
tokenizer-result.txt: always |
tokenizer-result.txt: always |
43 |
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
44 |
|
|
45 |
tree-construction-files: tree-construction \ |
tree-construction-files: tree-construction-remote-files \ |
46 |
|
tree-construction-result.txt |
47 |
|
|
48 |
|
tree-construction-remote-files: tree-construction \ |
49 |
tree-construction/tests1.dat \ |
tree-construction/tests1.dat \ |
50 |
tree-construction/tests2.dat \ |
tree-construction/tests2.dat \ |
51 |
tree-construction/tests3.dat \ |
tree-construction/tests3.dat \ |
52 |
tree-construction/tests4.dat \ |
tree-construction/tests4.dat \ |
53 |
tree-construction-result.txt |
tree-construction/tests5.dat \ |
54 |
|
tree-construction/tests6.dat \ |
55 |
|
tree-construction/tests7.dat \ |
56 |
|
tree-construction/LICENSE |
57 |
|
|
58 |
tree-construction: |
tree-construction: |
59 |
$(MKDIR) $@ |
$(MKDIR) $@ |
60 |
|
|
61 |
tree-construction/%.dat: |
tree-construction/%.dat: |
62 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@ |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
63 |
|
|
64 |
|
tree-construction/LICENSE: |
65 |
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
66 |
|
|
67 |
tree-construction-result.txt: always |
tree-construction-result.txt: always |
68 |
cd .. && perl t/HTML-tree.t &> t/$@ |
cd .. && perl t/HTML-tree.t &> t/$@ |
69 |
|
|
70 |
|
content-checker-files: content-checker-result.txt \ |
71 |
|
content-checker-atom-result.txt |
72 |
|
|
73 |
|
content-checker-result.txt: always |
74 |
|
cd .. && perl t/ContentChecker.t &> t/$@ |
75 |
|
|
76 |
|
content-checker-atom-result.txt: always |
77 |
|
cd .. && perl t/ContentChecker-Atom.t &> t/$@ |
78 |
|
|
79 |
|
langtag-files: langtag-result.txt |
80 |
|
|
81 |
|
langtag-result.txt: always |
82 |
|
cd .. && perl t/LangTag.t &> t/$@ |
83 |
|
|
84 |
|
clean-remote-files: |
85 |
|
$(RMALL) tokenizer/*.test tokenizer/LICENSE |
86 |
|
$(RMALL) tree-construction/*.dat tree-construction/LICENSE |
87 |
|
|
88 |
always: |
always: |
89 |
|
|
90 |
## License: Public Domain. |
## License: Public Domain. |