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