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