/[suikacvs]/markup/html/whatpm/t/Makefile
Suika

Contents of /markup/html/whatpm/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations) (download)
Sun Sep 30 11:38:18 2007 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.7: +20 -7 lines
html5lib test data updated

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24