/[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.9 by wakaba, Sun Apr 13 06:44:27 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      content-checker-files
11    
12  tokenizer-files: tokenizer \  update: clean-remote-files \
13      tokenizer-remote-files \
14      tree-construction-remote-files
15    
16    content-type-files: content-type-result.txt
17    
18    content-type-result.txt: always
19            cd .. && perl t/ContentType.t &> t/$@
20    
21    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/xmlViolation.test \
29      tokenizer/entities.test \
30      tokenizer/LICENSE
31    
32  tokenizer:  tokenizer:
33          $(MKDIR) $@          $(MKDIR) $@
34    
35  tokenizer/%.test:  tokenizer/%.test:
36          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@
37    
38    tokenizer/LICENSE:
39            $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE
40    
41  tokenizer-result.txt: always  tokenizer-result.txt: always
42          cd .. && perl t/HTML-tokenizer.t &> t/$@          cd .. && perl t/HTML-tokenizer.t &> t/$@
43    
44  tree-construction-files: tree-construction \  tree-construction-files: tree-construction-remote-files \
45      tree-construction-result.txt
46    
47    tree-construction-remote-files: tree-construction \
48    tree-construction/tests1.dat \    tree-construction/tests1.dat \
49    tree-construction/tests2.dat \    tree-construction/tests2.dat \
50    tree-construction/tests3.dat \    tree-construction/tests3.dat \
51    tree-construction/tests4.dat \    tree-construction/tests4.dat \
52    tree-construction-result.txt    tree-construction/tests5.dat \
53      tree-construction/tests6.dat \
54      tree-construction/tests7.dat \
55      tree-construction/LICENSE
56    
57  tree-construction:  tree-construction:
58          $(MKDIR) $@          $(MKDIR) $@
59    
60  tree-construction/%.dat:  tree-construction/%.dat:
61          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/tests/$@          $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/testdata/$@
62    
63    tree-construction/LICENSE:
64            $(WGET) -O $@ http://html5lib.googlecode.com/svn/trunk/LICENSE
65    
66  tree-construction-result.txt: always  tree-construction-result.txt: always
67          cd .. && perl t/HTML-tree.t &> t/$@          cd .. && perl t/HTML-tree.t &> t/$@
68    
69    content-checker-files: content-checker-result.txt
70    
71    content-checker-result.txt: always
72            cd .. && perl t/ContentChecker.t &> t/$@
73    
74    clean-remote-files:
75            $(RMALL) tokenizer/*.test tokenizer/LICENSE
76            $(RMALL) tree-construction/*.dat tree-construction/LICENSE
77    
78  always:  always:
79    
80  ## License: Public Domain.  ## License: Public Domain.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24