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