This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update release schedule: 5.20.2 is done; 5.20.3 will probably happen
[perl5.git] / win32 / pod.mak
1 HTMLROOT = /    # Change this to fix cross-references in HTML
2 POD2HTML_ARGS = --htmlroot=$(HTMLROOT) --podroot=.. --podpath=pod:lib:ext:vms
3 POD2HTML = ../ext/Pod-Html/pod2html
4 POD2MAN = ../cpan/podlators/pod2man
5 POD2TEXT = ../cpan/podlators/pod2text
6 PODCHECKER = ../cpan/Pod-Parser/podchecker
7
8 all: html
9
10 PERL = ..\miniperl.exe
11 REALPERL = ..\perl.exe
12
13 ICWD = -I..\dist\Cwd
14
15 POD = perl.pod  \
16         perl5004delta.pod       \
17         perl5005delta.pod       \
18         perl5100delta.pod       \
19         perl5101delta.pod       \
20         perl5120delta.pod       \
21         perl5121delta.pod       \
22         perl5122delta.pod       \
23         perl5123delta.pod       \
24         perl5124delta.pod       \
25         perl5125delta.pod       \
26         perl5140delta.pod       \
27         perl5141delta.pod       \
28         perl5142delta.pod       \
29         perl5143delta.pod       \
30         perl5144delta.pod       \
31         perl5160delta.pod       \
32         perl5161delta.pod       \
33         perl5162delta.pod       \
34         perl5163delta.pod       \
35         perl5180delta.pod       \
36         perl5181delta.pod       \
37         perl5182delta.pod       \
38         perl5184delta.pod       \
39         perl5200delta.pod       \
40         perl5201delta.pod       \
41         perl5210delta.pod       \
42         perl5211delta.pod       \
43         perl5212delta.pod       \
44         perl5213delta.pod       \
45         perl5214delta.pod       \
46         perl5215delta.pod       \
47         perl5216delta.pod       \
48         perl5217delta.pod       \
49         perl5218delta.pod       \
50         perl5219delta.pod       \
51         perl561delta.pod        \
52         perl56delta.pod \
53         perl581delta.pod        \
54         perl582delta.pod        \
55         perl583delta.pod        \
56         perl584delta.pod        \
57         perl585delta.pod        \
58         perl586delta.pod        \
59         perl587delta.pod        \
60         perl588delta.pod        \
61         perl589delta.pod        \
62         perl58delta.pod \
63         perlapi.pod     \
64         perlapio.pod    \
65         perlartistic.pod        \
66         perlbook.pod    \
67         perlboot.pod    \
68         perlbot.pod     \
69         perlcall.pod    \
70         perlcheat.pod   \
71         perlclib.pod    \
72         perlcommunity.pod       \
73         perldata.pod    \
74         perldbmfilter.pod       \
75         perldebguts.pod \
76         perldebtut.pod  \
77         perldebug.pod   \
78         perldelta.pod   \
79         perldiag.pod    \
80         perldsc.pod     \
81         perldtrace.pod  \
82         perlebcdic.pod  \
83         perlembed.pod   \
84         perlexperiment.pod      \
85         perlfilter.pod  \
86         perlfork.pod    \
87         perlform.pod    \
88         perlfunc.pod    \
89         perlgit.pod     \
90         perlgpl.pod     \
91         perlguts.pod    \
92         perlhack.pod    \
93         perlhacktips.pod        \
94         perlhacktut.pod \
95         perlhist.pod    \
96         perlintern.pod  \
97         perlinterp.pod  \
98         perlintro.pod   \
99         perliol.pod     \
100         perlipc.pod     \
101         perllexwarn.pod \
102         perllocale.pod  \
103         perllol.pod     \
104         perlmod.pod     \
105         perlmodinstall.pod      \
106         perlmodlib.pod  \
107         perlmodstyle.pod        \
108         perlmroapi.pod  \
109         perlnewmod.pod  \
110         perlnumber.pod  \
111         perlobj.pod     \
112         perlootut.pod   \
113         perlop.pod      \
114         perlopentut.pod \
115         perlpacktut.pod \
116         perlperf.pod    \
117         perlpod.pod     \
118         perlpodspec.pod \
119         perlpodstyle.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         perlsource.pod  \
137         perlstyle.pod   \
138         perlsub.pod     \
139         perlsyn.pod     \
140         perlthrtut.pod  \
141         perltie.pod     \
142         perltoc.pod     \
143         perltodo.pod    \
144         perltooc.pod    \
145         perltoot.pod    \
146         perltrap.pod    \
147         perlunicode.pod \
148         perlunicook.pod \
149         perlunifaq.pod  \
150         perluniintro.pod        \
151         perluniprops.pod        \
152         perlunitut.pod  \
153         perlutil.pod    \
154         perlvar.pod     \
155         perlvms.pod
156
157 MAN = perl.man  \
158         perl5004delta.man       \
159         perl5005delta.man       \
160         perl5100delta.man       \
161         perl5101delta.man       \
162         perl5120delta.man       \
163         perl5121delta.man       \
164         perl5122delta.man       \
165         perl5123delta.man       \
166         perl5124delta.man       \
167         perl5125delta.man       \
168         perl5140delta.man       \
169         perl5141delta.man       \
170         perl5142delta.man       \
171         perl5143delta.man       \
172         perl5144delta.man       \
173         perl5160delta.man       \
174         perl5161delta.man       \
175         perl5162delta.man       \
176         perl5163delta.man       \
177         perl5180delta.man       \
178         perl5181delta.man       \
179         perl5182delta.man       \
180         perl5184delta.man       \
181         perl5200delta.man       \
182         perl5201delta.man       \
183         perl5210delta.man       \
184         perl5211delta.man       \
185         perl5212delta.man       \
186         perl5213delta.man       \
187         perl5214delta.man       \
188         perl5215delta.man       \
189         perl5216delta.man       \
190         perl5217delta.man       \
191         perl5218delta.man       \
192         perl5219delta.man       \
193         perl561delta.man        \
194         perl56delta.man \
195         perl581delta.man        \
196         perl582delta.man        \
197         perl583delta.man        \
198         perl584delta.man        \
199         perl585delta.man        \
200         perl586delta.man        \
201         perl587delta.man        \
202         perl588delta.man        \
203         perl589delta.man        \
204         perl58delta.man \
205         perlapi.man     \
206         perlapio.man    \
207         perlartistic.man        \
208         perlbook.man    \
209         perlboot.man    \
210         perlbot.man     \
211         perlcall.man    \
212         perlcheat.man   \
213         perlclib.man    \
214         perlcommunity.man       \
215         perldata.man    \
216         perldbmfilter.man       \
217         perldebguts.man \
218         perldebtut.man  \
219         perldebug.man   \
220         perldelta.man   \
221         perldiag.man    \
222         perldsc.man     \
223         perldtrace.man  \
224         perlebcdic.man  \
225         perlembed.man   \
226         perlexperiment.man      \
227         perlfilter.man  \
228         perlfork.man    \
229         perlform.man    \
230         perlfunc.man    \
231         perlgit.man     \
232         perlgpl.man     \
233         perlguts.man    \
234         perlhack.man    \
235         perlhacktips.man        \
236         perlhacktut.man \
237         perlhist.man    \
238         perlintern.man  \
239         perlinterp.man  \
240         perlintro.man   \
241         perliol.man     \
242         perlipc.man     \
243         perllexwarn.man \
244         perllocale.man  \
245         perllol.man     \
246         perlmod.man     \
247         perlmodinstall.man      \
248         perlmodlib.man  \
249         perlmodstyle.man        \
250         perlmroapi.man  \
251         perlnewmod.man  \
252         perlnumber.man  \
253         perlobj.man     \
254         perlootut.man   \
255         perlop.man      \
256         perlopentut.man \
257         perlpacktut.man \
258         perlperf.man    \
259         perlpod.man     \
260         perlpodspec.man \
261         perlpodstyle.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         perlsource.man  \
279         perlstyle.man   \
280         perlsub.man     \
281         perlsyn.man     \
282         perlthrtut.man  \
283         perltie.man     \
284         perltoc.man     \
285         perltodo.man    \
286         perltooc.man    \
287         perltoot.man    \
288         perltrap.man    \
289         perlunicode.man \
290         perlunicook.man \
291         perlunifaq.man  \
292         perluniintro.man        \
293         perluniprops.man        \
294         perlunitut.man  \
295         perlutil.man    \
296         perlvar.man     \
297         perlvms.man
298
299 HTML = perl.html        \
300         perl5004delta.html      \
301         perl5005delta.html      \
302         perl5100delta.html      \
303         perl5101delta.html      \
304         perl5120delta.html      \
305         perl5121delta.html      \
306         perl5122delta.html      \
307         perl5123delta.html      \
308         perl5124delta.html      \
309         perl5125delta.html      \
310         perl5140delta.html      \
311         perl5141delta.html      \
312         perl5142delta.html      \
313         perl5143delta.html      \
314         perl5144delta.html      \
315         perl5160delta.html      \
316         perl5161delta.html      \
317         perl5162delta.html      \
318         perl5163delta.html      \
319         perl5180delta.html      \
320         perl5181delta.html      \
321         perl5182delta.html      \
322         perl5184delta.html      \
323         perl5200delta.html      \
324         perl5201delta.html      \
325         perl5210delta.html      \
326         perl5211delta.html      \
327         perl5212delta.html      \
328         perl5213delta.html      \
329         perl5214delta.html      \
330         perl5215delta.html      \
331         perl5216delta.html      \
332         perl5217delta.html      \
333         perl5218delta.html      \
334         perl5219delta.html      \
335         perl561delta.html       \
336         perl56delta.html        \
337         perl581delta.html       \
338         perl582delta.html       \
339         perl583delta.html       \
340         perl584delta.html       \
341         perl585delta.html       \
342         perl586delta.html       \
343         perl587delta.html       \
344         perl588delta.html       \
345         perl589delta.html       \
346         perl58delta.html        \
347         perlapi.html    \
348         perlapio.html   \
349         perlartistic.html       \
350         perlbook.html   \
351         perlboot.html   \
352         perlbot.html    \
353         perlcall.html   \
354         perlcheat.html  \
355         perlclib.html   \
356         perlcommunity.html      \
357         perldata.html   \
358         perldbmfilter.html      \
359         perldebguts.html        \
360         perldebtut.html \
361         perldebug.html  \
362         perldelta.html  \
363         perldiag.html   \
364         perldsc.html    \
365         perldtrace.html \
366         perlebcdic.html \
367         perlembed.html  \
368         perlexperiment.html     \
369         perlfilter.html \
370         perlfork.html   \
371         perlform.html   \
372         perlfunc.html   \
373         perlgit.html    \
374         perlgpl.html    \
375         perlguts.html   \
376         perlhack.html   \
377         perlhacktips.html       \
378         perlhacktut.html        \
379         perlhist.html   \
380         perlintern.html \
381         perlinterp.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         perlootut.html  \
397         perlop.html     \
398         perlopentut.html        \
399         perlpacktut.html        \
400         perlperf.html   \
401         perlpod.html    \
402         perlpodspec.html        \
403         perlpodstyle.html       \
404         perlpolicy.html \
405         perlport.html   \
406         perlpragma.html \
407         perlre.html     \
408         perlreapi.html  \
409         perlrebackslash.html    \
410         perlrecharclass.html    \
411         perlref.html    \
412         perlreftut.html \
413         perlreguts.html \
414         perlrepository.html     \
415         perlrequick.html        \
416         perlreref.html  \
417         perlretut.html  \
418         perlrun.html    \
419         perlsec.html    \
420         perlsource.html \
421         perlstyle.html  \
422         perlsub.html    \
423         perlsyn.html    \
424         perlthrtut.html \
425         perltie.html    \
426         perltodo.html   \
427         perltooc.html   \
428         perltoot.html   \
429         perltrap.html   \
430         perlunicode.html        \
431         perlunicook.html        \
432         perlunifaq.html \
433         perluniintro.html       \
434         perluniprops.html       \
435         perlunitut.html \
436         perlutil.html   \
437         perlvar.html    \
438         perlvms.html
439 # not perltoc.html
440
441 TEX = perl.tex  \
442         perl5004delta.tex       \
443         perl5005delta.tex       \
444         perl5100delta.tex       \
445         perl5101delta.tex       \
446         perl5120delta.tex       \
447         perl5121delta.tex       \
448         perl5122delta.tex       \
449         perl5123delta.tex       \
450         perl5124delta.tex       \
451         perl5125delta.tex       \
452         perl5140delta.tex       \
453         perl5141delta.tex       \
454         perl5142delta.tex       \
455         perl5143delta.tex       \
456         perl5144delta.tex       \
457         perl5160delta.tex       \
458         perl5161delta.tex       \
459         perl5162delta.tex       \
460         perl5163delta.tex       \
461         perl5180delta.tex       \
462         perl5181delta.tex       \
463         perl5182delta.tex       \
464         perl5184delta.tex       \
465         perl5200delta.tex       \
466         perl5201delta.tex       \
467         perl5210delta.tex       \
468         perl5211delta.tex       \
469         perl5212delta.tex       \
470         perl5213delta.tex       \
471         perl5214delta.tex       \
472         perl5215delta.tex       \
473         perl5216delta.tex       \
474         perl5217delta.tex       \
475         perl5218delta.tex       \
476         perl5219delta.tex       \
477         perl561delta.tex        \
478         perl56delta.tex \
479         perl581delta.tex        \
480         perl582delta.tex        \
481         perl583delta.tex        \
482         perl584delta.tex        \
483         perl585delta.tex        \
484         perl586delta.tex        \
485         perl587delta.tex        \
486         perl588delta.tex        \
487         perl589delta.tex        \
488         perl58delta.tex \
489         perlapi.tex     \
490         perlapio.tex    \
491         perlartistic.tex        \
492         perlbook.tex    \
493         perlboot.tex    \
494         perlbot.tex     \
495         perlcall.tex    \
496         perlcheat.tex   \
497         perlclib.tex    \
498         perlcommunity.tex       \
499         perldata.tex    \
500         perldbmfilter.tex       \
501         perldebguts.tex \
502         perldebtut.tex  \
503         perldebug.tex   \
504         perldelta.tex   \
505         perldiag.tex    \
506         perldsc.tex     \
507         perldtrace.tex  \
508         perlebcdic.tex  \
509         perlembed.tex   \
510         perlexperiment.tex      \
511         perlfilter.tex  \
512         perlfork.tex    \
513         perlform.tex    \
514         perlfunc.tex    \
515         perlgit.tex     \
516         perlgpl.tex     \
517         perlguts.tex    \
518         perlhack.tex    \
519         perlhacktips.tex        \
520         perlhacktut.tex \
521         perlhist.tex    \
522         perlintern.tex  \
523         perlinterp.tex  \
524         perlintro.tex   \
525         perliol.tex     \
526         perlipc.tex     \
527         perllexwarn.tex \
528         perllocale.tex  \
529         perllol.tex     \
530         perlmod.tex     \
531         perlmodinstall.tex      \
532         perlmodlib.tex  \
533         perlmodstyle.tex        \
534         perlmroapi.tex  \
535         perlnewmod.tex  \
536         perlnumber.tex  \
537         perlobj.tex     \
538         perlootut.tex   \
539         perlop.tex      \
540         perlopentut.tex \
541         perlpacktut.tex \
542         perlperf.tex    \
543         perlpod.tex     \
544         perlpodspec.tex \
545         perlpodstyle.tex        \
546         perlpolicy.tex  \
547         perlport.tex    \
548         perlpragma.tex  \
549         perlre.tex      \
550         perlreapi.tex   \
551         perlrebackslash.tex     \
552         perlrecharclass.tex     \
553         perlref.tex     \
554         perlreftut.tex  \
555         perlreguts.tex  \
556         perlrepository.tex      \
557         perlrequick.tex \
558         perlreref.tex   \
559         perlretut.tex   \
560         perlrun.tex     \
561         perlsec.tex     \
562         perlsource.tex  \
563         perlstyle.tex   \
564         perlsub.tex     \
565         perlsyn.tex     \
566         perlthrtut.tex  \
567         perltie.tex     \
568         perltoc.tex     \
569         perltodo.tex    \
570         perltooc.tex    \
571         perltoot.tex    \
572         perltrap.tex    \
573         perlunicode.tex \
574         perlunicook.tex \
575         perlunifaq.tex  \
576         perluniintro.tex        \
577         perluniprops.tex        \
578         perlunitut.tex  \
579         perlutil.tex    \
580         perlvar.tex     \
581         perlvms.tex
582
583 man:    $(POD2MAN) $(MAN)
584
585 html:   $(POD2HTML) $(HTML)
586
587 toc:
588         $(PERL) -I../lib buildtoc >perltoc.pod
589
590 .SUFFIXES: .pm .pod
591
592 .SUFFIXES: .man
593
594 .pm.man:
595         $(PERL) -I../lib $(POD2MAN) $*.pm >$*.man
596
597 .pod.man:
598         $(PERL) -I../lib $(POD2MAN) $*.pod >$*.man
599
600 .SUFFIXES: .html
601
602 .pm.html:
603         $(PERL) -I../lib $(POD2HTML) $(POD2HTML_ARGS) --infile=$*.pm --outfile=$*.html
604
605 .pod.html:
606         $(PERL) -I../lib $(POD2HTML) $(POD2HTML_ARGS) --infile=$*.pod --outfile=$*.html
607
608 clean:
609         rm -f $(MAN)
610         rm -f $(HTML)
611         rm -f $(TEX)
612         rm -f pod2html-*cache
613         rm -f *.aux *.log *.exe
614
615 realclean:      clean
616
617 distclean:      realclean
618
619 check:  $(PODCHECKER)
620         @echo "checking..."; \
621         $(PERL) -I../lib $(PODCHECKER) $(POD)