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