/[suikacvs]/messaging/manakai/lib/Message/Util/Makefile
Suika

Contents of /messaging/manakai/lib/Message/Util/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.45 - (hide annotations) (download)
Sun Jul 29 07:25:06 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.44: +16 -3 lines
++ manakai/doc/web/ChangeLog	29 Jul 2007 07:23:54 -0000
	* cover.ja.html: Added link to module documentations.

2007-07-29  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/ChangeLog	29 Jul 2007 07:24:21 -0000
2007-07-29  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (all): Make |Error.html|.
	(clean): Remove temporary files.
	(distclean): Remove |Error.html|.

++ manakai/lib/Message/Util/ChangeLog	29 Jul 2007 07:16:48 -0000
2007-07-29  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (all-document): New.
	(all): Do |all-document|.

++ manakai/lib/Message/Util/QName/ChangeLog	29 Jul 2007 07:16:30 -0000
2007-07-29  Wakaba  <wakaba@suika.fam.cx>

	* Filter.pm: A typo in pod is fixed.  Pod's outdated
	 see also section is removed.

1 wakaba 1.45 POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \
2     --htmlroot "../../.."
3    
4 wakaba 1.1 MANAKAI_ROOT_DIR = ../../../
5     MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
6     MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
7     MANAKAI_LIB_MANAKAI_DIR = $(MANAKAI_LIB_DIR)manakai/
8    
9 wakaba 1.21 DIS_SUFFIX = .dis
10 wakaba 1.38 DAEM_SUFFIX = .dafm
11 wakaba 1.37 DAFX_SUFFIX = .dafx
12 wakaba 1.16 PM_SUFFIX = .pm
13    
14 wakaba 1.7 CD = cd
15     MAKE = make
16 wakaba 1.1 RM = rm
17 wakaba 1.39 RMALL = $(RM) -fv
18 wakaba 1.6 PERL = perl
19 wakaba 1.25 PERL_OPTIONS =
20     PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
21     PERL_ = $(PERL) $(PERL_OPTIONS_ALL)
22 wakaba 1.6 PERLC = $(PERL) -c -w
23 wakaba 1.25 PERLC_OPTIONS =
24     PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR)
25     PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL)
26 wakaba 1.19 TOUCH = touch
27 wakaba 1.1
28 wakaba 1.5 NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
29 wakaba 1.20 NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
30     NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\#
31 wakaba 1.5 NS_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
32     NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
33 wakaba 1.6 NS_UTIL_ERR = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/
34 wakaba 1.11 NS_UTIL_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
35 wakaba 1.28 NS_UTIL_MUF = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Formatter/
36 wakaba 1.5
37 wakaba 1.21 DIS_OPTIONS =
38     DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
39     --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
40     --dis-file-suffix="$(DIS_SUFFIX)" \
41 wakaba 1.37 --daem-file-suffix="$(DAEM_SUFFIX)" \
42     --dafx-file-suffix="$(DAFX_SUFFIX)"
43 wakaba 1.21
44 wakaba 1.37 DAF_OPTIONS =
45     DAF_PL = $(MANAKAI_BIN_DIR)daf.pl
46     DAF = $(PERL_) $(DAF_PL) $(DAF_OPTIONS) $(DIS_OPTIONS_ALL)
47    
48 wakaba 1.28 UTIL_CORE_DIS_FILES = ManakaiNode.dis Error/DOMException.dis Error/Core.dis \
49     Formatter/Muf2003$(DIS_SUFFIX)
50 wakaba 1.33 UTIL_TEST_DIS_FILES = ManakaiNodeTest$(DIS_SUFFIX)
51 wakaba 1.24 DIS_CORE_DIS_FILES_ = DIS$(DIS_SUFFIX)
52 wakaba 1.31 DIS_CORE_DIS_FILES_DIS = DIS/Perl.dis DIS/Value.dis DIS/DNLite.dis \
53     DIS/DPG$(DIS_SUFFIX)
54 wakaba 1.16 DIS_CORE_DIS_FILES = $(DIS_CORE_DIS_FILES_) $(DIS_CORE_DIS_FILES_DIS)
55 wakaba 1.22 DIS_DOC_DIS_FILES = DIS/DISDoc.dis
56     DIS_DUMP_DIS_FILES = DIS/DISDump.dis
57 wakaba 1.26 DIS_TEST_DIS_FILES = DIS/Test$(DIS_SUFFIX)
58 wakaba 1.24 PC_DIS_FILES = PerlCode$(DIS_SUFFIX)
59 wakaba 1.26 UTIL_DIS_COMMON_DIS_FILE = DIS/common$(DIS_SUFFIX)
60 wakaba 1.33 DIS_FILES = $(UTIL_CORE_DIS_FILES) $(UTIL_TEST_DIS_FILES) \
61     $(DIS_CORE_DIS_FILES) \
62 wakaba 1.26 $(DIS_DOC_DIS_FILES) $(DIS_DUMP_DIS_FILES) $(DIS_TEST_DIS_FILES) \
63     $(PC_DIS_FILES) $(UTIL_DIS_COMMON_DIS_FILE)
64 wakaba 1.15
65 wakaba 1.38 NS_UTIL_PM_FILES = \
66     ManakaiNode$(PM_SUFFIX) ManakaiNodeTest$(PM_SUFFIX) \
67     PerlCode$(PM_SUFFIX) \
68     DIS$(PM_SUFFIX)
69     NS_UTIL_ERR_PM_FILES = \
70     Error/DOMException$(PM_SUFFIX)
71     NS_UTIL_DIS_PM_FILES = \
72     DIS/DNLite$(PM_SUFFIX) DIS/Value$(PM_SUFFIX) \
73     DIS/DPG$(PM_SUFFIX) \
74     DIS/Perl$(PM_SUFFIX) DIS/DISDoc$(PM_SUFFIX) DIS/DISDump$(PM_SUFFIX) \
75     DIS/Test$(PM_SUFFIX)
76    
77 wakaba 1.15 GENERATED_FILES = \
78 wakaba 1.38 $(NS_UTIL_PM_FILES) $(NS_UTIL_ERR_PM_FILES) $(NS_UTIL_DIS_PM_FILES)
79 wakaba 1.1
80 wakaba 1.45 all: all-document PerlCode$(PM_SUFFIX) .discore$(PM_SUFFIX) $(GENERATED_FILES)
81    
82     all-document: Error.html \
83     Formatter/Base.html Formatter/Boolean.html Formatter/Text.html \
84     HostPermit.html QName/Filter.html
85    
86     Error.html:: %.html: %.pod
87     $(POD2HTML) $< > $@
88    
89     %.html: %.pm
90     $(POD2HTML) $< > $@
91 wakaba 1.37
92 wakaba 1.38 $(NS_UTIL_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL)
93     $(DAF) --create-perl-module="$(NS_UTIL)$* $@"
94 wakaba 1.5 $(PERL_CHK) $@
95 wakaba 1.6
96 wakaba 1.38 $(NS_UTIL_ERR_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL)
97     $(DAF) --create-perl-module="$(NS_UTIL_ERR)$(*:Error/%=%) $@"
98 wakaba 1.33 $(PERL_CHK) $@
99    
100 wakaba 1.38 $(NS_UTIL_DIS_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL)
101     $(DAF) --create-perl-module="$(NS_UTIL_DIS)$(*:DIS/%=%) $@"
102 wakaba 1.5 $(PERL_CHK) $@
103 wakaba 1.6
104 wakaba 1.38 .discore$(PM_SUFFIX): $(DIS_CORE_DIS_FILES) $(DAF_PL)
105     $(DAF) \
106     --create-perl-module="$(NS_UTIL)DIS DIS$(PM_SUFFIX)" \
107     --create-perl-module="$(NS_UTIL_DIS)Value DIS/Value$(PM_SUFFIX)" \
108     --create-perl-module="$(NS_UTIL_DIS)Perl DIS/Perl$(PM_SUFFIX)" \
109     --create-perl-module="$(NS_UTIL_DIS)DPG DIS/DPG$(PM_SUFFIX)" \
110 wakaba 1.18 --create-perl-module="$(NS_UTIL_DIS)DNLite DIS/DNLite$(PM_SUFFIX)"
111     $(PERL_CHK) DIS$(PM_SUFFIX)
112     $(PERL_CHK) DIS/Value$(PM_SUFFIX)
113     $(PERL_CHK) DIS/Perl$(PM_SUFFIX)
114     $(PERL_CHK) DIS/DNLite$(PM_SUFFIX)
115 wakaba 1.31 $(PERL_CHK) DIS/DPG$(PM_SUFFIX)
116 wakaba 1.19 $(TOUCH) $@
117 wakaba 1.11
118 wakaba 1.38 .discore-all$(PM_SUFFIX): $(DIS_CORE_DIS_FILES) $(DAF_PL)
119     $(DAF) \
120 wakaba 1.20 --create-perl-module="$(NS_UTIL)ManakaiNode ManakaiNode$(PM_SUFFIX)" \
121     --create-perl-module="$(NS_UTIL_ERR)DOMException Error/DOMException$(PM_SUFFIX)" \
122     --create-perl-module="$(NS_MARKUP)SuikaWikiConfig21 ../Markup/SuikaWikiConfig21$(PM_SUFFIX)" \
123     --create-perl-module="$(NS_UTIL)DIS DIS$(PM_SUFFIX)" \
124     --create-perl-module="$(NS_UTIL_DIS)Value DIS/Value$(PM_SUFFIX)" \
125     --create-perl-module="$(NS_UTIL_DIS)Perl DIS/Perl$(PM_SUFFIX)" \
126 wakaba 1.39 --create-perl-module="$(NS_UTIL_DIS)DPG DIS/DPG$(PM_SUFFIX)" \
127 wakaba 1.20 --create-perl-module="$(NS_UTIL_DIS)DNLite DIS/DNLite$(PM_SUFFIX)"
128     $(PERL_CHK) ../Markup/SuikaWikiConfig21$(PM_SUFFIX)
129     $(PERL_CHK) DIS$(PM_SUFFIX)
130     $(PERL_CHK) DIS/Value$(PM_SUFFIX)
131     $(PERL_CHK) DIS/Perl$(PM_SUFFIX)
132 wakaba 1.39 $(PERL_CHK) DIS/DPG$(PM_SUFFIX)
133 wakaba 1.20 $(PERL_CHK) DIS/DNLite$(PM_SUFFIX)
134 wakaba 1.39 $(TOUCH) .discore$(PM_SUFFIX)
135 wakaba 1.38 $(DAF) \
136 wakaba 1.24 --create-perl-module="$(NS_UTIL)PerlCode PerlCode$(PM_SUFFIX)" \
137 wakaba 1.23 --create-perl-module="$(NS_MDOM)DOMFeature ../DOM/DOMFeature$(PM_SUFFIX)" \
138 wakaba 1.34 --create-perl-module="$(NS_MDOM)GenericLS ../DOM/GenericLS$(PM_SUFFIX)" \
139 wakaba 1.23 --create-perl-module="$(NS_MDOM)DOMMain ../DOM/DOMMain$(PM_SUFFIX)" \
140 wakaba 1.44 --create-perl-module="$(NS_MDOM)DOMString ../DOM/DOMString$(PM_SUFFIX)" \
141 wakaba 1.23 --create-perl-module="$(NS_MDOM)DOMCore ../DOM/DOMCore$(PM_SUFFIX)" \
142 wakaba 1.41 --create-perl-module="$(NS_MDOM)TreeCore ../DOM/TreeCore$(PM_SUFFIX)" \
143     --create-perl-module="$(NS_MDOM)Document ../DOM/Document$(PM_SUFFIX)" \
144     --create-perl-module="$(NS_MDOM)Element ../DOM/Element$(PM_SUFFIX)" \
145 wakaba 1.42 --create-perl-module="$(NS_MDOM)CharacterData ../DOM/CharacterData$(PM_SUFFIX)" \
146 wakaba 1.41 --create-perl-module="$(NS_MDOM)XML ../DOM/XML$(PM_SUFFIX)" \
147 wakaba 1.43 --create-perl-module="$(NS_MDOM)XDoctype ../DOM/XDoctype$(PM_SUFFIX)" \
148     --create-perl-module="$(NS_MDOM)TreeStore ../DOM/TreeStore$(PM_SUFFIX)"
149 wakaba 1.24 $(PERL_CHK) PerlCode$(PM_SUFFIX)
150 wakaba 1.23 $(PERL_CHK) ../DOM/DOMFeature$(PM_SUFFIX)
151 wakaba 1.34 $(PERL_CHK) ../DOM/GenericLS$(PM_SUFFIX)
152 wakaba 1.23 $(PERL_CHK) ../DOM/DOMMain$(PM_SUFFIX)
153 wakaba 1.44 $(PERL_CHK) ../DOM/DOMString$(PM_SUFFIX)
154 wakaba 1.23 $(PERL_CHK) ../DOM/DOMCore$(PM_SUFFIX)
155 wakaba 1.41 $(PERL_CHK) ../DOM/TreeCore$(PM_SUFFIX)
156     $(PERL_CHK) ../DOM/Document$(PM_SUFFIX)
157     $(PERL_CHK) ../DOM/Element$(PM_SUFFIX)
158 wakaba 1.42 $(PERL_CHK) ../DOM/CharacterData$(PM_SUFFIX)
159 wakaba 1.41 $(PERL_CHK) ../DOM/XML$(PM_SUFFIX)
160 wakaba 1.32 $(PERL_CHK) ../DOM/XDoctype$(PM_SUFFIX)
161 wakaba 1.43 $(PERL_CHK) ../DOM/TreeStore$(PM_SUFFIX)
162 wakaba 1.20 $(TOUCH) $@
163 wakaba 1.35 $(TOUCH) ../DOM/.core$(PM_SUFFIX)
164 wakaba 1.20
165 wakaba 1.1 clean:
166 wakaba 1.39 $(RMALL) $(GENERATED_FILES)
167 wakaba 1.45 $(RMALL) *.tmp .*.tmp *~ .*~ .discore$(PM_SUFFIX) .discore-all$(PM_SUFFIX)
168 wakaba 1.39 $(RMALL) Error/*~ Error/.*~
169     $(RMALL) Formatter/*~ Formatter/.*~
170     $(RMALL) DIS/*~ DIS/.*~
171    
172 wakaba 1.40 clean-db:
173 wakaba 1.39 $(RMALL) *$(DAEM_SUFFIX) *$(DAFX_SUFFIX)
174     $(RMALL) Error/*$(DAEM_SUFFIX) Error/*$(DAFX_SUFFIX)
175     $(RMALL) Formatter/*$(DAEM_SUFFIX) Formatter/*$(DAFX_SUFFIX)
176     $(RMALL) DIS/*$(DAEM_SUFFIX) DIS/*$(DAFX_SUFFIX)
177 wakaba 1.38
178 wakaba 1.40 distclean: clean clean-db
179    
180 wakaba 1.45 ## $Date: 2006/12/02 12:46:25 $
181 wakaba 1.38 ## License: Public Domain.

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24