/[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.4 by wakaba, Sun May 20 11:12:25 2007 UTC revision 1.12 by wakaba, Tue Oct 7 12:18:39 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: \  all: \
7    content-type-files \    content-type-files \
8    tokenizer-files \    tokenizer-files \
9    tree-construction-files \    tree-construction-files \
10    content-checker-files    content-checker-files \
11      langtag-files
12    
13    update: clean-remote-files \
14      tokenizer-remote-files \
15      tree-construction-remote-files
16    
17  content-type-files: content-type-result.txt  content-type-files: content-type-result.txt
18    
19  content-type-result.txt: always  content-type-result.txt: always
20          cd .. && perl t/ContentType.t &> t/$@          cd .. && perl t/ContentType.t &> t/$@
21    
22  tokenizer-files: tokenizer \  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/tests8.dat \
57      tree-construction/tests9.dat \
58      tree-construction/tests10.dat \
59      tree-construction/tests11.dat \
60      tree-construction/tests12.dat \
61      tree-construction/LICENSE
62    
63  tree-construction:  tree-construction:
64          $(MKDIR) $@          $(MKDIR) $@
65    
66  tree-construction/%.dat:  tree-construction/%.dat:
67          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@
68    
69    tree-construction/LICENSE:
70            $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE
71    
72  tree-construction-result.txt: always  tree-construction-result.txt: always
73          cd .. && perl t/HTML-tree.t &> t/$@          cd .. && perl t/HTML-tree.t &> t/$@
74    
75  content-checker-files: content-checker-result.txt  content-checker-files: content-checker-result.txt \
76      content-checker-atom-result.txt \
77      content-checker-xml-result.txt
78    
79  content-checker-result.txt: always  content-checker-result.txt: always
80          cd .. && perl t/ContentChecker.t &> t/$@          cd .. && perl t/ContentChecker.t &> t/$@
81    
82    content-checker-atom-result.txt: always
83            cd .. && perl t/ContentChecker-Atom.t &> t/$@
84    
85    content-checker-xml-result.txt: always
86            cd .. && perl t/ContentChecker-XML.t &> t/$@
87    
88    langtag-files: langtag-result.txt
89    
90    langtag-result.txt: always
91            cd .. && perl t/LangTag.t &> t/$@
92    
93    clean-remote-files:
94            $(RMALL) tokenizer/*.test tokenizer/LICENSE
95            $(RMALL) tree-construction/*.dat tree-construction/LICENSE
96    
97  always:  always:
98    
99  ## License: Public Domain.  ## License: Public Domain.

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.12

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24