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