/[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.2 by wakaba, Mon Apr 30 14:12:02 2007 UTC revision 1.4 by wakaba, Sun May 20 11:12:25 2007 UTC
# Line 1  Line 1 
1  WGET = wget  WGET = wget
2  MKDIR = mkdir  MKDIR = mkdir
3    
4  all: tokenizer-files tree-construction-files  all: \
5      content-type-files \
6      tokenizer-files \
7      tree-construction-files \
8      content-checker-files
9    
10    content-type-files: content-type-result.txt
11    
12    content-type-result.txt: always
13            cd .. && perl t/ContentType.t &> t/$@
14    
15  tokenizer-files: tokenizer \  tokenizer-files: tokenizer \
16    tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test    tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test \
17      tokenizer-result.txt
18    
19  tokenizer:  tokenizer:
20          $(MKDIR) $@          $(MKDIR) $@
# Line 12  tokenizer: Line 22  tokenizer:
22  tokenizer/%.test:  tokenizer/%.test:
23          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@
24    
25    tokenizer-result.txt: always
26            cd .. && perl t/HTML-tokenizer.t &> t/$@
27    
28  tree-construction-files: tree-construction \  tree-construction-files: tree-construction \
29    tree-construction/tests1.dat \    tree-construction/tests1.dat \
30    tree-construction/tests2.dat \    tree-construction/tests2.dat \
31    tree-construction/tests3.dat \    tree-construction/tests3.dat \
32    tree-construction/tests4.dat    tree-construction/tests4.dat \
33      tree-construction-result.txt
34    
35  tree-construction:  tree-construction:
36          $(MKDIR) $@          $(MKDIR) $@
# Line 24  tree-construction: Line 38  tree-construction:
38  tree-construction/%.dat:  tree-construction/%.dat:
39          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@
40    
41    tree-construction-result.txt: always
42            cd .. && perl t/HTML-tree.t &> t/$@
43    
44    content-checker-files: content-checker-result.txt
45    
46    content-checker-result.txt: always
47            cd .. && perl t/ContentChecker.t &> t/$@
48    
49    always:
50    
51  ## License: Public Domain.  ## License: Public Domain.
52  ## $Date$  ## $Date$

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24