/[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.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: tokenizer-files tree-construction-files  all: \
7      content-type-files \
8  tokenizer-files: tokenizer \    tokenizer-files \
9    tokenizer/test1.test tokenizer/test2.test tokenizer/contentModelFlags.test    tree-construction-files \
10      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
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 \
25      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
40            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/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
64            cd .. && perl t/HTML-tree.t &> t/$@
65    
66    content-checker-files: content-checker-result.txt
67    
68    content-checker-result.txt: always
69            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:
76    
77  ## License: Public Domain.  ## License: Public Domain.
78  ## $Date$  ## $Date$

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24