This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Signedness nit, found by Jarkko
[perl5.git] / win32 / pod.mak
CommitLineData
360aca43
GS
1CONVERTERS = pod2html pod2latex pod2man pod2text checkpods \
2 pod2usage podchecker podselect
5aabfad6
PP
3
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
10all: $(CONVERTERS) html
11
4a71ed0c
GS
12converters: $(CONVERTERS)
13
5aabfad6 14PERL = ..\miniperl.exe
4a71ed0c 15REALPERL = ..\perl.exe
5aabfad6
PP
16
17POD = \
18 perl.pod \
e50bb9a1
GS
19 perl5004delta.pod \
20 perl5005delta.pod \
41630250
JH
21 perl561delta.pod \
22 perl56delta.pod \
23 perl570delta.pod \
24 perl571delta.pod \
25 perl572delta.pod \
26 perl573delta.pod \
b6235c4f 27 perl581delta.pod \
2e038148
NC
28 perl582delta.pod \
29 perl583delta.pod \
5f15c94e 30 perl584delta.pod \
07e9b5fe 31 perl585delta.pod \
e4bb216d 32 perl586delta.pod \
315ba985 33 perl587delta.pod \
c11a53c6 34 perl588delta.pod \
41630250 35 perl58delta.pod \
1400179b
NC
36 perl590delta.pod \
37 perl591delta.pod \
e0eb806d 38 perl592delta.pod \
496c75d0 39 perl593delta.pod \
6c7deadb 40 perl594delta.pod \
f6eae373 41 perl595delta.pod \
41630250
JH
42 perlapi.pod \
43 perlapio.pod \
44 perlartistic.pod \
45 perlbook.pod \
46 perlboot.pod \
5aabfad6 47 perlbot.pod \
41630250
JH
48 perlcall.pod \
49 perlcheat.pod \
50 perlclib.pod \
51 perlcompile.pod \
52 perldata.pod \
53 perldbmfilter.pod \
54 perldebguts.pod \
55 perldebtut.pod \
5aabfad6 56 perldebug.pod \
41630250 57 perldelta.pod \
5aabfad6 58 perldiag.pod \
41630250
JH
59 perldoc.pod \
60 perldsc.pod \
61 perlebcdic.pod \
5aabfad6 62 perlembed.pod \
5aabfad6
PP
63 perlfaq.pod \
64 perlfaq1.pod \
65 perlfaq2.pod \
66 perlfaq3.pod \
67 perlfaq4.pod \
68 perlfaq5.pod \
69 perlfaq6.pod \
70 perlfaq7.pod \
71 perlfaq8.pod \
72 perlfaq9.pod \
41630250
JH
73 perlfilter.pod \
74 perlfork.pod \
75 perlform.pod \
76 perlfunc.pod \
c483e0e5 77 perlglossary.pod \
41630250
JH
78 perlgpl.pod \
79 perlguts.pod \
80 perlhack.pod \
81 perlhist.pod \
82 perlintern.pod \
83 perlintro.pod \
84 perliol.pod \
85 perlipc.pod \
86 perllexwarn.pod \
87 perllocale.pod \
88 perllol.pod \
89 perlmod.pod \
90 perlmodinstall.pod \
91 perlmodlib.pod \
92 perlmodstyle.pod \
93 perlnewmod.pod \
94 perlnumber.pod \
95 perlobj.pod \
96 perlop.pod \
97 perlopentut.pod \
98 perlothrtut.pod \
99 perlpacktut.pod \
100 perlpod.pod \
101 perlpodspec.pod \
102 perlport.pod \
a550ee30 103 perlpragma.pod \
41630250 104 perlre.pod \
53f8fa14 105 perlreapi.pod \
41630250
JH
106 perlref.pod \
107 perlreftut.pod \
b23a565d 108 perlreguts.pod \
41630250
JH
109 perlrequick.pod \
110 perlreref.pod \
111 perlretut.pod \
112 perlrun.pod \
113 perlsec.pod \
114 perlstyle.pod \
115 perlsub.pod \
116 perlsyn.pod \
117 perlthrtut.pod \
118 perltie.pod \
119 perltoc.pod \
120 perltodo.pod \
121 perltooc.pod \
122 perltoot.pod \
123 perltrap.pod \
124 perlunicode.pod \
3426ea3d 125 perlunifaq.pod \
41630250 126 perluniintro.pod \
aadaa455 127 perlunitut.pod \
41630250
JH
128 perlutil.pod \
129 perlvar.pod \
130 perlxs.pod \
131 perlxstut.pod
5aabfad6
PP
132
133MAN = \
134 perl.man \
e50bb9a1
GS
135 perl5004delta.man \
136 perl5005delta.man \
41630250
JH
137 perl561delta.man \
138 perl56delta.man \
139 perl570delta.man \
140 perl571delta.man \
141 perl572delta.man \
142 perl573delta.man \
b6235c4f 143 perl581delta.man \
2e038148
NC
144 perl582delta.man \
145 perl583delta.man \
5f15c94e 146 perl584delta.man \
07e9b5fe 147 perl585delta.man \
e4bb216d 148 perl586delta.man \
315ba985 149 perl587delta.man \
c11a53c6 150 perl588delta.man \
41630250 151 perl58delta.man \
1400179b
NC
152 perl590delta.man \
153 perl591delta.man \
e0eb806d 154 perl592delta.man \
496c75d0 155 perl593delta.man \
6c7deadb 156 perl594delta.man \
f6eae373 157 perl595delta.man \
41630250
JH
158 perlapi.man \
159 perlapio.man \
160 perlartistic.man \
161 perlbook.man \
162 perlboot.man \
5aabfad6 163 perlbot.man \
41630250
JH
164 perlcall.man \
165 perlcheat.man \
166 perlclib.man \
167 perlcompile.man \
168 perldata.man \
169 perldbmfilter.man \
170 perldebguts.man \
171 perldebtut.man \
5aabfad6 172 perldebug.man \
41630250 173 perldelta.man \
5aabfad6 174 perldiag.man \
41630250
JH
175 perldoc.man \
176 perldsc.man \
177 perlebcdic.man \
5aabfad6 178 perlembed.man \
5aabfad6
PP
179 perlfaq.man \
180 perlfaq1.man \
181 perlfaq2.man \
182 perlfaq3.man \
183 perlfaq4.man \
184 perlfaq5.man \
185 perlfaq6.man \
186 perlfaq7.man \
187 perlfaq8.man \
188 perlfaq9.man \
41630250
JH
189 perlfilter.man \
190 perlfork.man \
191 perlform.man \
192 perlfunc.man \
c483e0e5 193 perlglossary.man \
41630250
JH
194 perlgpl.man \
195 perlguts.man \
196 perlhack.man \
197 perlhist.man \
198 perlintern.man \
199 perlintro.man \
200 perliol.man \
201 perlipc.man \
202 perllexwarn.man \
203 perllocale.man \
204 perllol.man \
205 perlmod.man \
206 perlmodinstall.man \
207 perlmodlib.man \
208 perlmodstyle.man \
209 perlnewmod.man \
210 perlnumber.man \
211 perlobj.man \
212 perlop.man \
213 perlopentut.man \
214 perlothrtut.man \
215 perlpacktut.man \
216 perlpod.man \
217 perlpodspec.man \
218 perlport.man \
a550ee30 219 perlpragma.man \
41630250 220 perlre.man \
53f8fa14 221 perlreapi.man \
41630250
JH
222 perlref.man \
223 perlreftut.man \
b23a565d 224 perlreguts.man \
41630250
JH
225 perlrequick.man \
226 perlreref.man \
227 perlretut.man \
228 perlrun.man \
229 perlsec.man \
230 perlstyle.man \
231 perlsub.man \
232 perlsyn.man \
233 perlthrtut.man \
234 perltie.man \
235 perltoc.man \
236 perltodo.man \
237 perltooc.man \
238 perltoot.man \
239 perltrap.man \
240 perlunicode.man \
3426ea3d 241 perlunifaq.man \
41630250 242 perluniintro.man \
b23a565d 243 perlunitut.man \
41630250
JH
244 perlutil.man \
245 perlvar.man \
246 perlxs.man \
247 perlxstut.man
5aabfad6
PP
248
249HTML = \
250 perl.html \
e50bb9a1
GS
251 perl5004delta.html \
252 perl5005delta.html \
41630250
JH
253 perl561delta.html \
254 perl56delta.html \
255 perl570delta.html \
256 perl571delta.html \
257 perl572delta.html \
258 perl573delta.html \
b6235c4f 259 perl581delta.html \
2e038148
NC
260 perl582delta.html \
261 perl583delta.html \
5f15c94e 262 perl584delta.html \
07e9b5fe 263 perl585delta.html \
e4bb216d 264 perl586delta.html \
315ba985 265 perl587delta.html \
c11a53c6 266 perl588delta.html \
41630250 267 perl58delta.html \
1400179b
NC
268 perl590delta.html \
269 perl591delta.html \
e0eb806d 270 perl592delta.html \
496c75d0 271 perl593delta.html \
6c7deadb 272 perl594delta.html \
f6eae373 273 perl595delta.html \
41630250
JH
274 perlapi.html \
275 perlapio.html \
276 perlartistic.html \
277 perlbook.html \
278 perlboot.html \
5aabfad6 279 perlbot.html \
41630250
JH
280 perlcall.html \
281 perlcheat.html \
282 perlclib.html \
283 perlcompile.html \
284 perldata.html \
285 perldbmfilter.html \
286 perldebguts.html \
287 perldebtut.html \
5aabfad6 288 perldebug.html \
41630250 289 perldelta.html \
5aabfad6 290 perldiag.html \
41630250
JH
291 perldoc.html \
292 perldsc.html \
293 perlebcdic.html \
5aabfad6 294 perlembed.html \
5aabfad6
PP
295 perlfaq.html \
296 perlfaq1.html \
297 perlfaq2.html \
298 perlfaq3.html \
299 perlfaq4.html \
300 perlfaq5.html \
301 perlfaq6.html \
302 perlfaq7.html \
303 perlfaq8.html \
41630250
JH
304 perlfaq9.html \
305 perlfilter.html \
306 perlfork.html \
307 perlform.html \
308 perlfunc.html \
c483e0e5 309 perlglossary.html \
41630250
JH
310 perlgpl.html \
311 perlguts.html \
312 perlhack.html \
313 perlhist.html \
314 perlintern.html \
315 perlintro.html \
316 perliol.html \
317 perlipc.html \
318 perllexwarn.html \
319 perllocale.html \
320 perllol.html \
321 perlmod.html \
322 perlmodinstall.html \
323 perlmodlib.html \
324 perlmodstyle.html \
325 perlnewmod.html \
326 perlnumber.html \
327 perlobj.html \
328 perlop.html \
329 perlopentut.html \
330 perlothrtut.html \
331 perlpacktut.html \
332 perlpod.html \
333 perlpodspec.html \
334 perlport.html \
a550ee30 335 perlpragma.html \
41630250 336 perlre.html \
53f8fa14 337 perlreapi.html \
41630250
JH
338 perlref.html \
339 perlreftut.html \
b23a565d 340 perlreguts.html \
41630250
JH
341 perlrequick.html \
342 perlreref.html \
343 perlretut.html \
344 perlrun.html \
345 perlsec.html \
346 perlstyle.html \
347 perlsub.html \
348 perlsyn.html \
349 perlthrtut.html \
350 perltie.html \
351 perltodo.html \
352 perltooc.html \
353 perltoot.html \
354 perltrap.html \
355 perlunicode.html \
3426ea3d 356 perlunifaq.html \
41630250 357 perluniintro.html \
b23a565d 358 perlunitut.html \
41630250
JH
359 perlutil.html \
360 perlvar.html \
361 perlxs.html \
362 perlxstut.html
5aabfad6
PP
363# not perltoc.html
364
365TEX = \
366 perl.tex \
e50bb9a1
GS
367 perl5004delta.tex \
368 perl5005delta.tex \
41630250
JH
369 perl561delta.tex \
370 perl56delta.tex \
371 perl570delta.tex \
372 perl571delta.tex \
373 perl572delta.tex \
374 perl573delta.tex \
b6235c4f 375 perl581delta.tex \
2e038148
NC
376 perl582delta.tex \
377 perl583delta.tex \
5f15c94e 378 perl584delta.tex \
07e9b5fe 379 perl585delta.tex \
e4bb216d 380 perl586delta.tex \
315ba985 381 perl587delta.tex \
c11a53c6 382 perl588delta.tex \
41630250 383 perl58delta.tex \
1400179b
NC
384 perl590delta.tex \
385 perl591delta.tex \
e0eb806d 386 perl592delta.tex \
496c75d0 387 perl593delta.tex \
6c7deadb 388 perl594delta.tex \
f6eae373 389 perl595delta.tex \
41630250
JH
390 perlapi.tex \
391 perlapio.tex \
392 perlartistic.tex \
393 perlbook.tex \
394 perlboot.tex \
5aabfad6 395 perlbot.tex \
41630250
JH
396 perlcall.tex \
397 perlcheat.tex \
398 perlclib.tex \
399 perlcompile.tex \
400 perldata.tex \
401 perldbmfilter.tex \
402 perldebguts.tex \
403 perldebtut.tex \
5aabfad6 404 perldebug.tex \
41630250 405 perldelta.tex \
5aabfad6 406 perldiag.tex \
41630250
JH
407 perldoc.tex \
408 perldsc.tex \
409 perlebcdic.tex \
5aabfad6 410 perlembed.tex \
5aabfad6
PP
411 perlfaq.tex \
412 perlfaq1.tex \
413 perlfaq2.tex \
414 perlfaq3.tex \
415 perlfaq4.tex \
416 perlfaq5.tex \
417 perlfaq6.tex \
418 perlfaq7.tex \
419 perlfaq8.tex \
420 perlfaq9.tex \
41630250
JH
421 perlfilter.tex \
422 perlfork.tex \
423 perlform.tex \
424 perlfunc.tex \
c483e0e5 425 perlglossary.tex \
41630250
JH
426 perlgpl.tex \
427 perlguts.tex \
428 perlhack.tex \
429 perlhist.tex \
430 perlintern.tex \
431 perlintro.tex \
432 perliol.tex \
433 perlipc.tex \
434 perllexwarn.tex \
435 perllocale.tex \
436 perllol.tex \
437 perlmod.tex \
438 perlmodinstall.tex \
439 perlmodlib.tex \
440 perlmodstyle.tex \
441 perlnewmod.tex \
442 perlnumber.tex \
443 perlobj.tex \
444 perlop.tex \
445 perlopentut.tex \
446 perlothrtut.tex \
447 perlpacktut.tex \
448 perlpod.tex \
449 perlpodspec.tex \
450 perlport.tex \
a550ee30 451 perlpragma.tex \
41630250 452 perlre.tex \
53f8fa14 453 perlreapi.tex \
41630250
JH
454 perlref.tex \
455 perlreftut.tex \
b23a565d 456 perlreguts.tex \
41630250
JH
457 perlrequick.tex \
458 perlreref.tex \
459 perlretut.tex \
460 perlrun.tex \
461 perlsec.tex \
462 perlstyle.tex \
463 perlsub.tex \
464 perlsyn.tex \
465 perlthrtut.tex \
466 perltie.tex \
467 perltoc.tex \
468 perltodo.tex \
469 perltooc.tex \
470 perltoot.tex \
471 perltrap.tex \
472 perlunicode.tex \
3426ea3d 473 perlunifaq.tex \
41630250 474 perluniintro.tex \
b23a565d 475 perlunitut.tex \
41630250
JH
476 perlutil.tex \
477 perlvar.tex \
478 perlxs.tex \
479 perlxstut.tex
5aabfad6
PP
480
481man: pod2man $(MAN)
482
483html: pod2html $(HTML)
484
485tex: pod2latex $(TEX)
486
487toc:
4a71ed0c 488 $(PERL) -I../lib buildtoc >perltoc.pod
5aabfad6
PP
489
490.SUFFIXES: .pm .pod
491
492.SUFFIXES: .man
493
494.pm.man:
4a71ed0c 495 $(PERL) -I../lib pod2man $*.pm >$*.man
5aabfad6
PP
496
497.pod.man:
4a71ed0c 498 $(PERL) -I../lib pod2man $*.pod >$*.man
5aabfad6
PP
499
500.SUFFIXES: .html
501
502.pm.html:
4a71ed0c 503 $(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html
5aabfad6
PP
504
505.pod.html:
4a71ed0c 506 $(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html
5aabfad6
PP
507
508.SUFFIXES: .tex
509
510.pm.tex:
4a71ed0c 511 $(PERL) -I../lib pod2latex $*.pm
5aabfad6
PP
512
513.pod.tex:
4a71ed0c 514 $(PERL) -I../lib pod2latex $*.pod
5aabfad6
PP
515
516clean:
4a71ed0c
GS
517 rm -f $(MAN)
518 rm -f $(HTML)
519 rm -f $(TEX)
520 rm -f pod2html-*cache
521 rm -f *.aux *.log *.exe
5aabfad6
PP
522
523realclean: clean
4a71ed0c 524 rm -f $(CONVERTERS)
5aabfad6
PP
525
526distclean: realclean
527
528check: checkpods
529 @echo "checking..."; \
4a71ed0c 530 $(PERL) -I../lib checkpods $(POD)
5aabfad6
PP
531
532# Dependencies.
4a71ed0c
GS
533pod2latex: pod2latex.PL ../lib/Config.pm
534 $(PERL) -I../lib pod2latex.PL
5aabfad6 535
4a71ed0c
GS
536pod2html: pod2html.PL ../lib/Config.pm
537 $(PERL) -I ../lib pod2html.PL
5aabfad6 538
4a71ed0c
GS
539pod2man: pod2man.PL ../lib/Config.pm
540 $(PERL) -I ../lib pod2man.PL
5aabfad6 541
4a71ed0c
GS
542pod2text: pod2text.PL ../lib/Config.pm
543 $(PERL) -I ../lib pod2text.PL
5aabfad6 544
4a71ed0c
GS
545checkpods: checkpods.PL ../lib/Config.pm
546 $(PERL) -I ../lib checkpods.PL
5aabfad6 547
360aca43
GS
548pod2usage: pod2usage.PL ../lib/Config.pm
549 $(PERL) -I ../lib pod2usage.PL
550
551podchecker: podchecker.PL ../lib/Config.pm
552 $(PERL) -I ../lib podchecker.PL
553
554podselect: podselect.PL ../lib/Config.pm
555 $(PERL) -I ../lib podselect.PL