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