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