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