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

Diff of /markup/html/whatpm/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.14

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24