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