/[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.8 by wakaba, Sun Sep 30 11:38:18 2007 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 \
# Line 7  all: \ Line 9  all: \
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-result.txt    tokenizer/escapeFlag.test \
26      tokenizer/test3.test \
27      tokenizer/test4.test \
28      tokenizer/LICENSE
29    
30  tokenizer:  tokenizer:
31          $(MKDIR) $@          $(MKDIR) $@
32    
33  tokenizer/%.test:  tokenizer/%.test:
34          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@
35    
36    tokenizer/LICENSE:
37            $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE
38    
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-result.txt    tree-construction/tests5.dat \
51      tree-construction/tests6.dat \
52      tree-construction/LICENSE
53    
54  tree-construction:  tree-construction:
55          $(MKDIR) $@          $(MKDIR) $@
56    
57  tree-construction/%.dat:  tree-construction/%.dat:
58          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@
59    
60    tree-construction/LICENSE:
61            $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE
62    
63  tree-construction-result.txt: always  tree-construction-result.txt: always
64          cd .. && perl t/HTML-tree.t &> t/$@          cd .. && perl t/HTML-tree.t &> t/$@
# Line 46  content-checker-files: content-checker-r Line 68  content-checker-files: content-checker-r
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.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24