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