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