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