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