This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move pod2usage.PL, podchecker.PL, podselect.PL into cpan/Pod-Parser/scripts
[perl5.git] / win32 / pod.mak
CommitLineData
cde5101a 1CONVERTERS = pod2html pod2man pod2text
5aabfad6
PP
2
3HTMLROOT = / # Change this to fix cross-references in HTML
4POD2HTML = pod2html \
5 --htmlroot=$(HTMLROOT) \
6 --podroot=.. --podpath=pod:lib:ext:vms \
7 --libpods=perlfunc:perlguts:perlvar:perlrun:perlop
bf07e08f 8POD2LATEX = ../cpan/Pod-LaTeX/pod2latex
cde5101a 9PODCHECKER = ../cpan/Pod-Parser/podchecker
5aabfad6
PP
10
11all: $(CONVERTERS) html
12
4a71ed0c
GS
13converters: $(CONVERTERS)
14
5aabfad6 15PERL = ..\miniperl.exe
4a71ed0c 16REALPERL = ..\perl.exe
5aabfad6 17
2a6dc374 18ICWD = -I..\dist\Cwd
403f501d 19
5aabfad6
PP
20POD = \
21 perl.pod \
e50bb9a1
GS
22 perl5004delta.pod \
23 perl5005delta.pod \
cf6c151c 24 perl5100delta.pod \
7cdf958d 25 perl5101delta.pod \
7120b314 26 perl5110delta.pod \
11545435 27 perl5111delta.pod \
d5114285 28 perl5112delta.pod \
2e8102e6 29 perl5113delta.pod \
e06a4ec4 30 perl5114delta.pod \
3be84f1f 31 perl5115delta.pod \
2bc3a088 32 perl5120delta.pod \
bdfb6cc8 33 perl5121delta.pod \
20d57231 34 perl5130delta.pod \
d4438f94 35 perl5131delta.pod \
f83c51e5 36 perl5132delta.pod \
855e1b21 37 perl5133delta.pod \
cea2f1cb 38 perl5134delta.pod \
587354ab 39 perl5135delta.pod \
ee0887a9 40 perl5136delta.pod \
41630250
JH
41 perl561delta.pod \
42 perl56delta.pod \
43 perl570delta.pod \
44 perl571delta.pod \
45 perl572delta.pod \
46 perl573delta.pod \
b6235c4f 47 perl581delta.pod \
2e038148
NC
48 perl582delta.pod \
49 perl583delta.pod \
5f15c94e 50 perl584delta.pod \
07e9b5fe 51 perl585delta.pod \
e4bb216d 52 perl586delta.pod \
315ba985 53 perl587delta.pod \
c11a53c6 54 perl588delta.pod \
fc5be808 55 perl589delta.pod \
41630250 56 perl58delta.pod \
1400179b
NC
57 perl590delta.pod \
58 perl591delta.pod \
e0eb806d 59 perl592delta.pod \
496c75d0 60 perl593delta.pod \
6c7deadb 61 perl594delta.pod \
f6eae373 62 perl595delta.pod \
41630250
JH
63 perlapi.pod \
64 perlapio.pod \
65 perlartistic.pod \
66 perlbook.pod \
67 perlboot.pod \
5aabfad6 68 perlbot.pod \
41630250
JH
69 perlcall.pod \
70 perlcheat.pod \
71 perlclib.pod \
cbd87e7e 72 perlcommunity.pod \
41630250
JH
73 perlcompile.pod \
74 perldata.pod \
75 perldbmfilter.pod \
76 perldebguts.pod \
77 perldebtut.pod \
5aabfad6 78 perldebug.pod \
41630250 79 perldelta.pod \
5aabfad6 80 perldiag.pod \
41630250
JH
81 perldoc.pod \
82 perldsc.pod \
83 perlebcdic.pod \
5aabfad6 84 perlembed.pod \
5aabfad6
PP
85 perlfaq.pod \
86 perlfaq1.pod \
87 perlfaq2.pod \
88 perlfaq3.pod \
89 perlfaq4.pod \
90 perlfaq5.pod \
91 perlfaq6.pod \
92 perlfaq7.pod \
93 perlfaq8.pod \
94 perlfaq9.pod \
41630250
JH
95 perlfilter.pod \
96 perlfork.pod \
97 perlform.pod \
98 perlfunc.pod \
c483e0e5 99 perlglossary.pod \
41630250
JH
100 perlgpl.pod \
101 perlguts.pod \
102 perlhack.pod \
103 perlhist.pod \
104 perlintern.pod \
105 perlintro.pod \
106 perliol.pod \
107 perlipc.pod \
108 perllexwarn.pod \
109 perllocale.pod \
110 perllol.pod \
111 perlmod.pod \
112 perlmodinstall.pod \
113 perlmodlib.pod \
114 perlmodstyle.pod \
15932acc 115 perlmroapi.pod \
41630250
JH
116 perlnewmod.pod \
117 perlnumber.pod \
118 perlobj.pod \
119 perlop.pod \
120 perlopentut.pod \
41630250 121 perlpacktut.pod \
da096611 122 perlperf.pod \
41630250
JH
123 perlpod.pod \
124 perlpodspec.pod \
cb8a010e 125 perlpolicy.pod \
41630250 126 perlport.pod \
a550ee30 127 perlpragma.pod \
41630250 128 perlre.pod \
53f8fa14 129 perlreapi.pod \
8a118206
RGS
130 perlrebackslash.pod \
131 perlrecharclass.pod \
41630250
JH
132 perlref.pod \
133 perlreftut.pod \
b23a565d 134 perlreguts.pod \
9f968a8d 135 perlrepository.pod \
41630250
JH
136 perlrequick.pod \
137 perlreref.pod \
138 perlretut.pod \
139 perlrun.pod \
140 perlsec.pod \
141 perlstyle.pod \
142 perlsub.pod \
143 perlsyn.pod \
144 perlthrtut.pod \
145 perltie.pod \
146 perltoc.pod \
147 perltodo.pod \
148 perltooc.pod \
149 perltoot.pod \
150 perltrap.pod \
151 perlunicode.pod \
3426ea3d 152 perlunifaq.pod \
41630250 153 perluniintro.pod \
6e38c054 154 perluniprops.pod \
aadaa455 155 perlunitut.pod \
41630250
JH
156 perlutil.pod \
157 perlvar.pod \
dd0cfdaa 158 perlvms.pod \
41630250
JH
159 perlxs.pod \
160 perlxstut.pod
5aabfad6
PP
161
162MAN = \
163 perl.man \
e50bb9a1
GS
164 perl5004delta.man \
165 perl5005delta.man \
cf6c151c 166 perl5100delta.man \
7cdf958d 167 perl5101delta.man \
7120b314 168 perl5110delta.man \
11545435 169 perl5111delta.man \
d5114285 170 perl5112delta.man \
2e8102e6 171 perl5113delta.man \
e06a4ec4 172 perl5114delta.man \
3be84f1f 173 perl5115delta.man \
2bc3a088 174 perl5120delta.man \
bdfb6cc8 175 perl5121delta.man \
20d57231 176 perl5130delta.man \
d4438f94 177 perl5131delta.man \
f83c51e5 178 perl5132delta.man \
855e1b21 179 perl5133delta.man \
cea2f1cb 180 perl5134delta.man \
587354ab 181 perl5135delta.man \
ee0887a9 182 perl5136delta.man \
41630250
JH
183 perl561delta.man \
184 perl56delta.man \
185 perl570delta.man \
186 perl571delta.man \
187 perl572delta.man \
188 perl573delta.man \
b6235c4f 189 perl581delta.man \
2e038148
NC
190 perl582delta.man \
191 perl583delta.man \
5f15c94e 192 perl584delta.man \
07e9b5fe 193 perl585delta.man \
e4bb216d 194 perl586delta.man \
315ba985 195 perl587delta.man \
c11a53c6 196 perl588delta.man \
fc5be808 197 perl589delta.man \
41630250 198 perl58delta.man \
1400179b
NC
199 perl590delta.man \
200 perl591delta.man \
e0eb806d 201 perl592delta.man \
496c75d0 202 perl593delta.man \
6c7deadb 203 perl594delta.man \
f6eae373 204 perl595delta.man \
41630250
JH
205 perlapi.man \
206 perlapio.man \
207 perlartistic.man \
208 perlbook.man \
209 perlboot.man \
5aabfad6 210 perlbot.man \
41630250
JH
211 perlcall.man \
212 perlcheat.man \
213 perlclib.man \
cbd87e7e 214 perlcommunity.man \
41630250
JH
215 perlcompile.man \
216 perldata.man \
217 perldbmfilter.man \
218 perldebguts.man \
219 perldebtut.man \
5aabfad6 220 perldebug.man \
41630250 221 perldelta.man \
5aabfad6 222 perldiag.man \
41630250
JH
223 perldoc.man \
224 perldsc.man \
225 perlebcdic.man \
5aabfad6 226 perlembed.man \
5aabfad6
PP
227 perlfaq.man \
228 perlfaq1.man \
229 perlfaq2.man \
230 perlfaq3.man \
231 perlfaq4.man \
232 perlfaq5.man \
233 perlfaq6.man \
234 perlfaq7.man \
235 perlfaq8.man \
236 perlfaq9.man \
41630250
JH
237 perlfilter.man \
238 perlfork.man \
239 perlform.man \
240 perlfunc.man \
c483e0e5 241 perlglossary.man \
41630250
JH
242 perlgpl.man \
243 perlguts.man \
244 perlhack.man \
245 perlhist.man \
246 perlintern.man \
247 perlintro.man \
248 perliol.man \
249 perlipc.man \
250 perllexwarn.man \
251 perllocale.man \
252 perllol.man \
253 perlmod.man \
254 perlmodinstall.man \
255 perlmodlib.man \
256 perlmodstyle.man \
15932acc 257 perlmroapi.man \
41630250
JH
258 perlnewmod.man \
259 perlnumber.man \
260 perlobj.man \
261 perlop.man \
262 perlopentut.man \
41630250 263 perlpacktut.man \
da096611 264 perlperf.man \
41630250
JH
265 perlpod.man \
266 perlpodspec.man \
cb8a010e 267 perlpolicy.man \
41630250 268 perlport.man \
a550ee30 269 perlpragma.man \
41630250 270 perlre.man \
53f8fa14 271 perlreapi.man \
8a118206
RGS
272 perlrebackslash.man \
273 perlrecharclass.man \
41630250
JH
274 perlref.man \
275 perlreftut.man \
b23a565d 276 perlreguts.man \
9f968a8d 277 perlrepository.man \
41630250
JH
278 perlrequick.man \
279 perlreref.man \
280 perlretut.man \
281 perlrun.man \
282 perlsec.man \
283 perlstyle.man \
284 perlsub.man \
285 perlsyn.man \
286 perlthrtut.man \
287 perltie.man \
288 perltoc.man \
289 perltodo.man \
290 perltooc.man \
291 perltoot.man \
292 perltrap.man \
293 perlunicode.man \
3426ea3d 294 perlunifaq.man \
41630250 295 perluniintro.man \
6e38c054 296 perluniprops.man \
b23a565d 297 perlunitut.man \
41630250
JH
298 perlutil.man \
299 perlvar.man \
dd0cfdaa 300 perlvms.man \
41630250
JH
301 perlxs.man \
302 perlxstut.man
5aabfad6
PP
303
304HTML = \
305 perl.html \
e50bb9a1
GS
306 perl5004delta.html \
307 perl5005delta.html \
cf6c151c 308 perl5100delta.html \
7cdf958d 309 perl5101delta.html \
7120b314 310 perl5110delta.html \
11545435 311 perl5111delta.html \
d5114285 312 perl5112delta.html \
2e8102e6 313 perl5113delta.html \
e06a4ec4 314 perl5114delta.html \
3be84f1f 315 perl5115delta.html \
2bc3a088 316 perl5120delta.html \
bdfb6cc8 317 perl5121delta.html \
20d57231 318 perl5130delta.html \
d4438f94 319 perl5131delta.html \
f83c51e5 320 perl5132delta.html \
855e1b21 321 perl5133delta.html \
cea2f1cb 322 perl5134delta.html \
587354ab 323 perl5135delta.html \
ee0887a9 324 perl5136delta.html \
41630250
JH
325 perl561delta.html \
326 perl56delta.html \
327 perl570delta.html \
328 perl571delta.html \
329 perl572delta.html \
330 perl573delta.html \
b6235c4f 331 perl581delta.html \
2e038148
NC
332 perl582delta.html \
333 perl583delta.html \
5f15c94e 334 perl584delta.html \
07e9b5fe 335 perl585delta.html \
e4bb216d 336 perl586delta.html \
315ba985 337 perl587delta.html \
c11a53c6 338 perl588delta.html \
fc5be808 339 perl589delta.html \
41630250 340 perl58delta.html \
1400179b
NC
341 perl590delta.html \
342 perl591delta.html \
e0eb806d 343 perl592delta.html \
496c75d0 344 perl593delta.html \
6c7deadb 345 perl594delta.html \
f6eae373 346 perl595delta.html \
41630250
JH
347 perlapi.html \
348 perlapio.html \
349 perlartistic.html \
350 perlbook.html \
351 perlboot.html \
5aabfad6 352 perlbot.html \
41630250
JH
353 perlcall.html \
354 perlcheat.html \
355 perlclib.html \
cbd87e7e 356 perlcommunity.html \
41630250
JH
357 perlcompile.html \
358 perldata.html \
359 perldbmfilter.html \
360 perldebguts.html \
361 perldebtut.html \
5aabfad6 362 perldebug.html \
41630250 363 perldelta.html \
5aabfad6 364 perldiag.html \
41630250
JH
365 perldoc.html \
366 perldsc.html \
367 perlebcdic.html \
5aabfad6 368 perlembed.html \
5aabfad6
PP
369 perlfaq.html \
370 perlfaq1.html \
371 perlfaq2.html \
372 perlfaq3.html \
373 perlfaq4.html \
374 perlfaq5.html \
375 perlfaq6.html \
376 perlfaq7.html \
377 perlfaq8.html \
41630250
JH
378 perlfaq9.html \
379 perlfilter.html \
380 perlfork.html \
381 perlform.html \
382 perlfunc.html \
c483e0e5 383 perlglossary.html \
41630250
JH
384 perlgpl.html \
385 perlguts.html \
386 perlhack.html \
387 perlhist.html \
388 perlintern.html \
389 perlintro.html \
390 perliol.html \
391 perlipc.html \
392 perllexwarn.html \
393 perllocale.html \
394 perllol.html \
395 perlmod.html \
396 perlmodinstall.html \
397 perlmodlib.html \
398 perlmodstyle.html \
15932acc 399 perlmroapi.html \
41630250
JH
400 perlnewmod.html \
401 perlnumber.html \
402 perlobj.html \
403 perlop.html \
404 perlopentut.html \
41630250 405 perlpacktut.html \
da096611 406 perlperf.html \
41630250
JH
407 perlpod.html \
408 perlpodspec.html \
cb8a010e 409 perlpolicy.html \
41630250 410 perlport.html \
a550ee30 411 perlpragma.html \
41630250 412 perlre.html \
53f8fa14 413 perlreapi.html \
8a118206
RGS
414 perlrebackslash.html \
415 perlrecharclass.html \
41630250
JH
416 perlref.html \
417 perlreftut.html \
b23a565d 418 perlreguts.html \
9f968a8d 419 perlrepository.html \
41630250
JH
420 perlrequick.html \
421 perlreref.html \
422 perlretut.html \
423 perlrun.html \
424 perlsec.html \
425 perlstyle.html \
426 perlsub.html \
427 perlsyn.html \
428 perlthrtut.html \
429 perltie.html \
430 perltodo.html \
431 perltooc.html \
432 perltoot.html \
433 perltrap.html \
434 perlunicode.html \
3426ea3d 435 perlunifaq.html \
41630250 436 perluniintro.html \
6e38c054 437 perluniprops.html \
b23a565d 438 perlunitut.html \
41630250
JH
439 perlutil.html \
440 perlvar.html \
dd0cfdaa 441 perlvms.html \
41630250
JH
442 perlxs.html \
443 perlxstut.html
5aabfad6
PP
444# not perltoc.html
445
446TEX = \
447 perl.tex \
e50bb9a1
GS
448 perl5004delta.tex \
449 perl5005delta.tex \
cf6c151c 450 perl5100delta.tex \
7cdf958d 451 perl5101delta.tex \
7120b314 452 perl5110delta.tex \
11545435 453 perl5111delta.tex \
d5114285 454 perl5112delta.tex \
2e8102e6 455 perl5113delta.tex \
e06a4ec4 456 perl5114delta.tex \
3be84f1f 457 perl5115delta.tex \
2bc3a088 458 perl5120delta.tex \
bdfb6cc8 459 perl5121delta.tex \
20d57231 460 perl5130delta.tex \
d4438f94 461 perl5131delta.tex \
f83c51e5 462 perl5132delta.tex \
855e1b21 463 perl5133delta.tex \
cea2f1cb 464 perl5134delta.tex \
587354ab 465 perl5135delta.tex \
ee0887a9 466 perl5136delta.tex \
41630250
JH
467 perl561delta.tex \
468 perl56delta.tex \
469 perl570delta.tex \
470 perl571delta.tex \
471 perl572delta.tex \
472 perl573delta.tex \
b6235c4f 473 perl581delta.tex \
2e038148
NC
474 perl582delta.tex \
475 perl583delta.tex \
5f15c94e 476 perl584delta.tex \
07e9b5fe 477 perl585delta.tex \
e4bb216d 478 perl586delta.tex \
315ba985 479 perl587delta.tex \
c11a53c6 480 perl588delta.tex \
fc5be808 481 perl589delta.tex \
41630250 482 perl58delta.tex \
1400179b
NC
483 perl590delta.tex \
484 perl591delta.tex \
e0eb806d 485 perl592delta.tex \
496c75d0 486 perl593delta.tex \
6c7deadb 487 perl594delta.tex \
f6eae373 488 perl595delta.tex \
41630250
JH
489 perlapi.tex \
490 perlapio.tex \
491 perlartistic.tex \
492 perlbook.tex \
493 perlboot.tex \
5aabfad6 494 perlbot.tex \
41630250
JH
495 perlcall.tex \
496 perlcheat.tex \
497 perlclib.tex \
cbd87e7e 498 perlcommunity.tex \
41630250
JH
499 perlcompile.tex \
500 perldata.tex \
501 perldbmfilter.tex \
502 perldebguts.tex \
503 perldebtut.tex \
5aabfad6 504 perldebug.tex \
41630250 505 perldelta.tex \
5aabfad6 506 perldiag.tex \
41630250
JH
507 perldoc.tex \
508 perldsc.tex \
509 perlebcdic.tex \
5aabfad6 510 perlembed.tex \
5aabfad6
PP
511 perlfaq.tex \
512 perlfaq1.tex \
513 perlfaq2.tex \
514 perlfaq3.tex \
515 perlfaq4.tex \
516 perlfaq5.tex \
517 perlfaq6.tex \
518 perlfaq7.tex \
519 perlfaq8.tex \
520 perlfaq9.tex \
41630250
JH
521 perlfilter.tex \
522 perlfork.tex \
523 perlform.tex \
524 perlfunc.tex \
c483e0e5 525 perlglossary.tex \
41630250
JH
526 perlgpl.tex \
527 perlguts.tex \
528 perlhack.tex \
529 perlhist.tex \
530 perlintern.tex \
531 perlintro.tex \
532 perliol.tex \
533 perlipc.tex \
534 perllexwarn.tex \
535 perllocale.tex \
536 perllol.tex \
537 perlmod.tex \
538 perlmodinstall.tex \
539 perlmodlib.tex \
540 perlmodstyle.tex \
15932acc 541 perlmroapi.tex \
41630250
JH
542 perlnewmod.tex \
543 perlnumber.tex \
544 perlobj.tex \
545 perlop.tex \
546 perlopentut.tex \
41630250 547 perlpacktut.tex \
da096611 548 perlperf.tex \
41630250
JH
549 perlpod.tex \
550 perlpodspec.tex \
cb8a010e 551 perlpolicy.tex \
41630250 552 perlport.tex \
a550ee30 553 perlpragma.tex \
41630250 554 perlre.tex \
53f8fa14 555 perlreapi.tex \
8a118206
RGS
556 perlrebackslash.tex \
557 perlrecharclass.tex \
41630250
JH
558 perlref.tex \
559 perlreftut.tex \
b23a565d 560 perlreguts.tex \
9f968a8d 561 perlrepository.tex \
41630250
JH
562 perlrequick.tex \
563 perlreref.tex \
564 perlretut.tex \
565 perlrun.tex \
566 perlsec.tex \
567 perlstyle.tex \
568 perlsub.tex \
569 perlsyn.tex \
570 perlthrtut.tex \
571 perltie.tex \
572 perltoc.tex \
573 perltodo.tex \
574 perltooc.tex \
575 perltoot.tex \
576 perltrap.tex \
577 perlunicode.tex \
3426ea3d 578 perlunifaq.tex \
41630250 579 perluniintro.tex \
6e38c054 580 perluniprops.tex \
b23a565d 581 perlunitut.tex \
41630250
JH
582 perlutil.tex \
583 perlvar.tex \
dd0cfdaa 584 perlvms.tex \
41630250
JH
585 perlxs.tex \
586 perlxstut.tex
5aabfad6
PP
587
588man: pod2man $(MAN)
589
590html: pod2html $(HTML)
591
bf07e08f 592tex: $(POD2LATEX) $(TEX)
5aabfad6
PP
593
594toc:
4a71ed0c 595 $(PERL) -I../lib buildtoc >perltoc.pod
5aabfad6
PP
596
597.SUFFIXES: .pm .pod
598
599.SUFFIXES: .man
600
601.pm.man:
4a71ed0c 602 $(PERL) -I../lib pod2man $*.pm >$*.man
5aabfad6
PP
603
604.pod.man:
4a71ed0c 605 $(PERL) -I../lib pod2man $*.pod >$*.man
5aabfad6
PP
606
607.SUFFIXES: .html
608
609.pm.html:
4a71ed0c 610 $(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html
5aabfad6
PP
611
612.pod.html:
4a71ed0c 613 $(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html
5aabfad6
PP
614
615.SUFFIXES: .tex
616
617.pm.tex:
bf07e08f 618 $(PERL) -I../lib $(POD2LATEX) $*.pm
5aabfad6
PP
619
620.pod.tex:
bf07e08f 621 $(PERL) -I../lib $(POD2LATEX) $*.pod
5aabfad6
PP
622
623clean:
4a71ed0c
GS
624 rm -f $(MAN)
625 rm -f $(HTML)
626 rm -f $(TEX)
627 rm -f pod2html-*cache
628 rm -f *.aux *.log *.exe
5aabfad6
PP
629
630realclean: clean
4a71ed0c 631 rm -f $(CONVERTERS)
5aabfad6
PP
632
633distclean: realclean
634
cde5101a 635check: $(PODCHECKER)
5aabfad6 636 @echo "checking..."; \
cde5101a 637 $(PERL) -I../lib $(PODCHECKER) $(POD)
5aabfad6
PP
638
639# Dependencies.
4a71ed0c 640pod2html: pod2html.PL ../lib/Config.pm
403f501d 641 $(PERL) -I ../lib $(ICWD) pod2html.PL
5aabfad6 642
4a71ed0c 643pod2man: pod2man.PL ../lib/Config.pm
403f501d 644 $(PERL) -I ../lib $(ICWD) pod2man.PL
5aabfad6 645
4a71ed0c 646pod2text: pod2text.PL ../lib/Config.pm
403f501d 647 $(PERL) -I ../lib $(ICWD) pod2text.PL