README.vms and related updates (from Peter Prymmer <pvhp@best.com>)
[p5sagit/p5-mst-13.2.git] / pod / Makefile
CommitLineData
360aca43 1CONVERTERS = pod2html pod2latex pod2man pod2text checkpods \
2 pod2usage podchecker podselect
4633a7c4 3
dc848c6f 4HTMLROOT = / # Change this to fix cross-references in HTML
5POD2HTML = pod2html \
6 --htmlroot=$(HTMLROOT) \
7 --podroot=.. --podpath=pod:lib:ext:vms \
8 --libpods=perlfunc:perlguts:perlvar:perlrun:perlop
9
4633a7c4 10all: $(CONVERTERS) man
dc848c6f 11
4a71ed0c 12converters: $(CONVERTERS)
13
b59e3c8c 14PERL = ../miniperl
6ee623d5 15REALPERL = ../perl
a0d0e21e 16
8ebc5c01 17POD = \
a0d0e21e 18 perl.pod \
774d564b 19 perldelta.pod \
e50bb9a1 20 perl5004delta.pod \
21 perl5005delta.pod \
8ebc5c01 22 perldata.pod \
23 perlsyn.pod \
a0d0e21e 24 perlop.pod \
a0d0e21e 25 perlre.pod \
a0d0e21e 26 perlrun.pod \
8ebc5c01 27 perlfunc.pod \
2605996a 28 perlopentut.pod \
8ebc5c01 29 perlvar.pod \
a0d0e21e 30 perlsub.pod \
8ebc5c01 31 perlmod.pod \
f102b883 32 perlmodlib.pod \
fb9cefb4 33 perlmodinstall.pod \
7766f137 34 perlfork.pod \
8ebc5c01 35 perlform.pod \
36 perllocale.pod \
37 perlref.pod \
a1e2a320 38 perlreftut.pod \
8ebc5c01 39 perldsc.pod \
40 perllol.pod \
71be2cbc 41 perltoot.pod \
19799a22 42 perltootc.pod \
8ebc5c01 43 perlobj.pod \
44 perltie.pod \
45 perlbot.pod \
46 perlipc.pod \
2605996a 47 perlthrtut.pod \
9fe6733a 48 perldbmfilter.pod \
8ebc5c01 49 perldebug.pod \
50 perldiag.pod \
51 perlsec.pod \
a0d0e21e 52 perltrap.pod \
fb9cefb4 53 perlport.pod \
8ebc5c01 54 perlstyle.pod \
55 perlpod.pod \
56 perlbook.pod \
57 perlembed.pod \
58 perlapio.pod \
4633a7c4 59 perlxs.pod \
8ebc5c01 60 perlxstut.pod \
61 perlguts.pod \
62 perlcall.pod \
54a137f5 63 perlcompile.pod \
e50bb9a1 64 perltodo.pod \
954c1994 65 perlapi.pod \
66 perlintern.pod \
e8cd7eae 67 perlhack.pod \
e50bb9a1 68 perlhist.pod \
68dc0745 69 perlfaq.pod \
70 perlfaq1.pod \
71 perlfaq2.pod \
72 perlfaq3.pod \
73 perlfaq4.pod \
74 perlfaq5.pod \
75 perlfaq6.pod \
76 perlfaq7.pod \
77 perlfaq8.pod \
78 perlfaq9.pod \
8ebc5c01 79 perltoc.pod
a0d0e21e 80
8ebc5c01 81MAN = \
a0d0e21e 82 perl.man \
774d564b 83 perldelta.man \
e50bb9a1 84 perl5004delta.man \
85 perl5005delta.man \
8ebc5c01 86 perldata.man \
87 perlsyn.man \
a0d0e21e 88 perlop.man \
a0d0e21e 89 perlre.man \
a0d0e21e 90 perlrun.man \
8ebc5c01 91 perlfunc.man \
2605996a 92 perlopentut.man \
8ebc5c01 93 perlvar.man \
a0d0e21e 94 perlsub.man \
8ebc5c01 95 perlmod.man \
f102b883 96 perlmodlib.man \
fb9cefb4 97 perlmodinstall.man \
7766f137 98 perlfork.man \
8ebc5c01 99 perlform.man \
100 perllocale.man \
101 perlref.man \
a1e2a320 102 perlreftut.man \
8ebc5c01 103 perldsc.man \
104 perllol.man \
71be2cbc 105 perltoot.man \
19799a22 106 perltootc.man \
8ebc5c01 107 perlobj.man \
108 perltie.man \
109 perlbot.man \
110 perlipc.man \
2605996a 111 perlthrtut.man \
9fe6733a 112 perldbmfilter.man \
8ebc5c01 113 perldebug.man \
114 perldiag.man \
115 perlsec.man \
a0d0e21e 116 perltrap.man \
fb9cefb4 117 perlport.man \
8ebc5c01 118 perlstyle.man \
119 perlpod.man \
120 perlbook.man \
121 perlembed.man \
122 perlapio.man \
4633a7c4 123 perlxs.man \
8ebc5c01 124 perlxstut.man \
125 perlguts.man \
126 perlcall.man \
54a137f5 127 perlcompile.man \
e50bb9a1 128 perltodo.man \
954c1994 129 perlapi.man \
130 perlintern.man \
e8cd7eae 131 perlhack.man \
e50bb9a1 132 perlhist.man \
68dc0745 133 perlfaq.man \
134 perlfaq1.man \
135 perlfaq2.man \
136 perlfaq3.man \
137 perlfaq4.man \
138 perlfaq5.man \
139 perlfaq6.man \
140 perlfaq7.man \
141 perlfaq8.man \
142 perlfaq9.man \
8ebc5c01 143 perltoc.man
a0d0e21e 144
8ebc5c01 145HTML = \
a0d0e21e 146 perl.html \
774d564b 147 perldelta.html \
e50bb9a1 148 perl5004delta.html \
149 perl5005delta.html \
8ebc5c01 150 perldata.html \
151 perlsyn.html \
a0d0e21e 152 perlop.html \
a0d0e21e 153 perlre.html \
a0d0e21e 154 perlrun.html \
8ebc5c01 155 perlfunc.html \
2605996a 156 perlopentut.html \
8ebc5c01 157 perlvar.html \
a0d0e21e 158 perlsub.html \
8ebc5c01 159 perlmod.html \
f102b883 160 perlmodlib.html \
fb9cefb4 161 perlmodinstall.html \
7766f137 162 perlfork.html \
8ebc5c01 163 perlform.html \
164 perllocale.html \
165 perlref.html \
a1e2a320 166 perlreftut.html \
8ebc5c01 167 perldsc.html \
168 perllol.html \
71be2cbc 169 perltoot.html \
19799a22 170 perltootc.html \
8ebc5c01 171 perlobj.html \
172 perltie.html \
173 perlbot.html \
174 perlipc.html \
2605996a 175 perlthrtut.html \
9fe6733a 176 perldbmfilter.html \
8ebc5c01 177 perldebug.html \
178 perldiag.html \
179 perlsec.html \
a0d0e21e 180 perltrap.html \
fb9cefb4 181 perlport.html \
8ebc5c01 182 perlstyle.html \
183 perlpod.html \
184 perlbook.html \
185 perlembed.html \
186 perlapio.html \
4633a7c4 187 perlxs.html \
8ebc5c01 188 perlxstut.html \
189 perlguts.html \
190 perlcall.html \
54a137f5 191 perlcompile.html \
e50bb9a1 192 perltodo.html \
954c1994 193 perlapi.html \
194 perlintern.html \
e8cd7eae 195 perlhack.html \
e50bb9a1 196 perlhist.html \
68dc0745 197 perlfaq.html \
198 perlfaq1.html \
199 perlfaq2.html \
200 perlfaq3.html \
201 perlfaq4.html \
202 perlfaq5.html \
203 perlfaq6.html \
204 perlfaq7.html \
205 perlfaq8.html \
dc848c6f 206 perlfaq9.html
207# not perltoc.html
a0d0e21e 208
8ebc5c01 209TEX = \
f0b7e567 210 perl.tex \
774d564b 211 perldelta.tex \
e50bb9a1 212 perl5004delta.tex \
213 perl5005delta.tex \
8ebc5c01 214 perldata.tex \
215 perlsyn.tex \
f0b7e567 216 perlop.tex \
f0b7e567 217 perlre.tex \
f0b7e567 218 perlrun.tex \
8ebc5c01 219 perlfunc.tex \
2605996a 220 perlopentut.tex \
8ebc5c01 221 perlvar.tex \
f0b7e567 222 perlsub.tex \
8ebc5c01 223 perlmod.tex \
f102b883 224 perlmodlib.tex \
fb9cefb4 225 perlmodinstall.tex \
7766f137 226 perlfork.tex \
8ebc5c01 227 perlform.tex \
228 perllocale.tex \
229 perlref.tex \
a1e2a320 230 perlreftut.tex \
8ebc5c01 231 perldsc.tex \
232 perllol.tex \
71be2cbc 233 perltoot.tex \
19799a22 234 perltootc.tex \
8ebc5c01 235 perlobj.tex \
236 perltie.tex \
237 perlbot.tex \
238 perlipc.tex \
2605996a 239 perlthrtut.tex \
9fe6733a 240 perldbmfilter.tex \
8ebc5c01 241 perldebug.tex \
242 perldiag.tex \
243 perlsec.tex \
f0b7e567 244 perltrap.tex \
fb9cefb4 245 perlport.tex \
8ebc5c01 246 perlstyle.tex \
247 perlpod.tex \
248 perlbook.tex \
249 perlembed.tex \
250 perlapio.tex \
4633a7c4 251 perlxs.tex \
8ebc5c01 252 perlxstut.tex \
253 perlguts.tex \
254 perlcall.tex \
54a137f5 255 perlcompile.tex \
e50bb9a1 256 perltodo.tex \
954c1994 257 perlapi.tex \
258 perlintern.tex \
e8cd7eae 259 perlhack.tex \
e50bb9a1 260 perlhist.tex \
68dc0745 261 perlfaq.tex \
262 perlfaq1.tex \
263 perlfaq2.tex \
264 perlfaq3.tex \
265 perlfaq4.tex \
266 perlfaq5.tex \
267 perlfaq6.tex \
268 perlfaq7.tex \
269 perlfaq8.tex \
270 perlfaq9.tex \
8ebc5c01 271 perltoc.tex
f0b7e567 272
dc848c6f 273man: pod2man $(MAN)
f0b7e567 274
dc848c6f 275html: pod2html $(HTML)
a0d0e21e 276
f0b7e567 277tex: pod2latex $(TEX)
278
8ebc5c01 279toc:
280 $(PERL) -I../lib buildtoc >perltoc.pod
281
dc848c6f 282.SUFFIXES: .pm .pod
283
284.SUFFIXES: .man
cb1a09d0 285
286.pm.man: pod2man
c07a80fd 287 $(PERL) -I../lib pod2man $*.pm >$*.man
a0d0e21e 288
f0b7e567 289.pod.man: pod2man
c07a80fd 290 $(PERL) -I../lib pod2man $*.pod >$*.man
a0d0e21e 291
dc848c6f 292.SUFFIXES: .html
cb1a09d0 293
294.pm.html: pod2html
dc848c6f 295 $(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html
a0d0e21e 296
f0b7e567 297.pod.html: pod2html
dc848c6f 298 $(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html
f0b7e567 299
dc848c6f 300.SUFFIXES: .tex
f0b7e567 301
cb1a09d0 302.pm.tex: pod2latex
dc848c6f 303 $(PERL) -I../lib pod2latex $*.pm
304
305.pod.tex: pod2latex
c07a80fd 306 $(PERL) -I../lib pod2latex $*.pod
cb1a09d0 307
a0d0e21e 308clean:
55d729e4 309 rm -f $(MAN)
310 rm -f $(HTML)
311 rm -f $(TEX)
dc848c6f 312 rm -f pod2html-*cache
6ee623d5 313 rm -f *.aux *.log *.exe
a0d0e21e 314
ecfc5424 315realclean: clean
c07a80fd 316 rm -f $(CONVERTERS)
5d94fbed 317
318distclean: realclean
319
3ad621c0 320check: checkpods
321 @echo "checking..."; \
322 $(PERL) -I../lib checkpods $(POD)
323
5d94fbed 324# Dependencies.
4633a7c4 325pod2latex: pod2latex.PL ../lib/Config.pm
326 $(PERL) -I../lib pod2latex.PL
5d94fbed 327
4633a7c4 328pod2html: pod2html.PL ../lib/Config.pm
329 $(PERL) -I ../lib pod2html.PL
5d94fbed 330
4633a7c4 331pod2man: pod2man.PL ../lib/Config.pm
332 $(PERL) -I ../lib pod2man.PL
c07a80fd 333
334pod2text: pod2text.PL ../lib/Config.pm
335 $(PERL) -I ../lib pod2text.PL
3ad621c0 336
337checkpods: checkpods.PL ../lib/Config.pm
338 $(PERL) -I ../lib checkpods.PL
339
360aca43 340pod2usage: pod2usage.PL ../lib/Config.pm
341 $(PERL) -I ../lib pod2usage.PL
342
343podchecker: podchecker.PL ../lib/Config.pm
344 $(PERL) -I ../lib podchecker.PL
345
346podselect: podselect.PL ../lib/Config.pm
347 $(PERL) -I ../lib podselect.PL
348
6ee623d5 349compile: all
350 $(REALPERL) -I../lib ../utils/perlcc -regex 's/$$/.exe/' pod2latex pod2man pod2text checkpods -prog -verbose dcf -log ../compilelog;
3ad621c0 351
6ee623d5 352