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