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 |
|
xml-result.txt \ |
11 |
|
content-checker-files \ |
12 |
|
langtag-files |
13 |
|
|
14 |
tokenizer-files: tokenizer \ |
update: clean-remote-files \ |
15 |
|
tokenizer-remote-files \ |
16 |
|
tree-construction-remote-files |
17 |
|
|
18 |
|
content-type-files: content-type-result.txt |
19 |
|
|
20 |
|
content-type-result.txt: always |
21 |
|
cd .. && perl t/ContentType.t &> t/$@ |
22 |
|
|
23 |
|
tokenizer-files: tokenizer-remote-files tokenizer-result.txt |
24 |
|
|
25 |
|
tokenizer-remote-files: tokenizer \ |
26 |
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
27 |
tokenizer-result.txt |
tokenizer/escapeFlag.test \ |
28 |
|
tokenizer/test3.test \ |
29 |
|
tokenizer/test4.test \ |
30 |
|
tokenizer/xmlViolation.test \ |
31 |
|
tokenizer/entities.test \ |
32 |
|
tokenizer/LICENSE |
33 |
|
|
34 |
tokenizer: |
tokenizer: |
35 |
$(MKDIR) $@ |
$(MKDIR) $@ |
36 |
|
|
37 |
tokenizer/%.test: |
tokenizer/%.test: |
38 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@ |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
39 |
|
|
40 |
|
tokenizer/LICENSE: |
41 |
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
42 |
|
|
43 |
tokenizer-result.txt: always |
tokenizer-result.txt: always |
44 |
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
45 |
|
|
46 |
tree-construction-files: tree-construction \ |
tree-construction-files: tree-construction-remote-files \ |
47 |
|
tree-construction-result.txt |
48 |
|
|
49 |
|
tree-construction-remote-files: tree-construction \ |
50 |
tree-construction/tests1.dat \ |
tree-construction/tests1.dat \ |
51 |
tree-construction/tests2.dat \ |
tree-construction/tests2.dat \ |
52 |
tree-construction/tests3.dat \ |
tree-construction/tests3.dat \ |
53 |
tree-construction/tests4.dat \ |
tree-construction/tests4.dat \ |
54 |
tree-construction-result.txt |
tree-construction/tests5.dat \ |
55 |
|
tree-construction/tests6.dat \ |
56 |
|
tree-construction/tests7.dat \ |
57 |
|
tree-construction/tests8.dat \ |
58 |
|
tree-construction/tests9.dat \ |
59 |
|
tree-construction/tests10.dat \ |
60 |
|
tree-construction/tests11.dat \ |
61 |
|
tree-construction/tests12.dat \ |
62 |
|
tree-construction/LICENSE |
63 |
|
|
64 |
tree-construction: |
tree-construction: |
65 |
$(MKDIR) $@ |
$(MKDIR) $@ |
66 |
|
|
67 |
tree-construction/%.dat: |
tree-construction/%.dat: |
68 |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@ |
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@ |
69 |
|
|
70 |
|
tree-construction/LICENSE: |
71 |
|
$(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE |
72 |
|
|
73 |
tree-construction-result.txt: always |
tree-construction-result.txt: always |
74 |
cd .. && perl t/HTML-tree.t &> t/$@ |
cd .. && perl t/HTML-tree.t &> t/$@ |
75 |
|
|
76 |
|
xml-result.txt: always |
77 |
|
cd .. && perl t/XML-Parser.t &> t/$@ |
78 |
|
|
79 |
|
content-checker-files: content-checker-result.txt \ |
80 |
|
content-checker-atom-result.txt \ |
81 |
|
content-checker-xml-result.txt |
82 |
|
|
83 |
|
content-checker-result.txt: always |
84 |
|
cd .. && perl t/ContentChecker.t &> t/$@ |
85 |
|
|
86 |
|
content-checker-atom-result.txt: always |
87 |
|
cd .. && perl t/ContentChecker-Atom.t &> t/$@ |
88 |
|
|
89 |
|
content-checker-xml-result.txt: always |
90 |
|
cd .. && perl t/ContentChecker-XML.t &> t/$@ |
91 |
|
|
92 |
|
langtag-files: langtag-result.txt |
93 |
|
|
94 |
|
langtag-result.txt: always |
95 |
|
cd .. && perl t/LangTag.t &> t/$@ |
96 |
|
|
97 |
|
clean-remote-files: |
98 |
|
$(RMALL) tokenizer/*.test tokenizer/LICENSE |
99 |
|
$(RMALL) tree-construction/*.dat tree-construction/LICENSE |
100 |
|
|
101 |
always: |
always: |
102 |
|
|
103 |
## License: Public Domain. |
## License: Public Domain. |