1 |
WGET = wget |
WGET = wget |
2 |
MKDIR = mkdir |
MKDIR = mkdir |
3 |
|
RM = rm |
4 |
|
RMALL = $(RM) -frv |
5 |
|
|
6 |
all: \ |
all: \ |
7 |
content-type-files \ |
content-type-files \ |
9 |
tree-construction-files \ |
tree-construction-files \ |
10 |
content-checker-files |
content-checker-files |
11 |
|
|
12 |
|
update: clean-remote-files \ |
13 |
|
tokenizer-remote-files \ |
14 |
|
tree-construction-remote-files |
15 |
|
|
16 |
content-type-files: content-type-result.txt |
content-type-files: content-type-result.txt |
17 |
|
|
18 |
content-type-result.txt: always |
content-type-result.txt: always |
19 |
cd .. && perl t/ContentType.t &> t/$@ |
cd .. && perl t/ContentType.t &> t/$@ |
20 |
|
|
21 |
tokenizer-files: tokenizer \ |
tokenizer-files: tokenizer-remote-files tokenizer-result.txt |
22 |
|
|
23 |
|
tokenizer-remote-files: tokenizer \ |
24 |
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \ |
25 |
tokenizer/escapeFlag.test \ |
tokenizer/escapeFlag.test \ |
26 |
tokenizer/test3.test \ |
tokenizer/test3.test \ |
27 |
tokenizer/test4.test \ |
tokenizer/test4.test \ |
28 |
tokenizer/LICENSE \ |
tokenizer/LICENSE |
|
tokenizer-result.txt |
|
29 |
|
|
30 |
tokenizer: |
tokenizer: |
31 |
$(MKDIR) $@ |
$(MKDIR) $@ |
39 |
tokenizer-result.txt: always |
tokenizer-result.txt: always |
40 |
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
cd .. && perl t/HTML-tokenizer.t &> t/$@ |
41 |
|
|
42 |
tree-construction-files: tree-construction \ |
tree-construction-files: tree-construction-remote-files \ |
43 |
|
tree-construction-result.txt |
44 |
|
|
45 |
|
tree-construction-remote-files: tree-construction \ |
46 |
tree-construction/tests1.dat \ |
tree-construction/tests1.dat \ |
47 |
tree-construction/tests2.dat \ |
tree-construction/tests2.dat \ |
48 |
tree-construction/tests3.dat \ |
tree-construction/tests3.dat \ |
49 |
tree-construction/tests4.dat \ |
tree-construction/tests4.dat \ |
50 |
tree-construction/tests5.dat \ |
tree-construction/tests5.dat \ |
51 |
tree-construction/tests6.dat \ |
tree-construction/tests6.dat \ |
52 |
tree-construction/LICENSE \ |
tree-construction/LICENSE |
|
tree-construction-result.txt |
|
53 |
|
|
54 |
tree-construction: |
tree-construction: |
55 |
$(MKDIR) $@ |
$(MKDIR) $@ |
68 |
content-checker-result.txt: always |
content-checker-result.txt: always |
69 |
cd .. && perl t/ContentChecker.t &> t/$@ |
cd .. && perl t/ContentChecker.t &> t/$@ |
70 |
|
|
71 |
|
clean-remote-files: |
72 |
|
$(RMALL) tokenizer/*.test tokenizer/LICENSE |
73 |
|
$(RMALL) tree-construction/*.dat tree-construction/LICENSE |
74 |
|
|
75 |
always: |
always: |
76 |
|
|
77 |
## License: Public Domain. |
## License: Public Domain. |