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