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