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