Set default static inline for Netware/config.wc.
[perl.git] / win32 / pod.mak
1 CONVERTERS = pod2html pod2latex pod2man pod2text \
2                 pod2usage podchecker podselect
3
4 HTMLROOT = /    # Change this to fix cross-references in HTML
5 POD2HTML = pod2html \
6             --htmlroot=$(HTMLROOT) \
7             --podroot=.. --podpath=pod:lib:ext:vms \
8             --libpods=perlfunc:perlguts:perlvar:perlrun:perlop
9
10 all: $(CONVERTERS) html
11
12 converters: $(CONVERTERS)
13
14 PERL = ..\miniperl.exe
15 REALPERL = ..\perl.exe
16
17 ICWD = -I..\dist\Cwd
18
19 POD = \
20         perl.pod        \
21         perl5004delta.pod       \
22         perl5005delta.pod       \
23         perl5100delta.pod       \
24         perl5101delta.pod       \
25         perl5110delta.pod       \
26         perl5111delta.pod       \
27         perl5112delta.pod       \
28         perl5113delta.pod       \
29         perl5114delta.pod       \
30         perl5115delta.pod       \
31         perl5120delta.pod       \
32         perl5121delta.pod       \
33         perl5130delta.pod       \
34         perl5131delta.pod       \
35         perl5132delta.pod       \
36         perl5133delta.pod       \
37         perl5134delta.pod       \
38         perl5135delta.pod       \
39         perl5136delta.pod       \
40         perl561delta.pod        \
41         perl56delta.pod \
42         perl570delta.pod        \
43         perl571delta.pod        \
44         perl572delta.pod        \
45         perl573delta.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         perl590delta.pod        \
57         perl591delta.pod        \
58         perl592delta.pod        \
59         perl593delta.pod        \
60         perl594delta.pod        \
61         perl595delta.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         perlcompile.pod \
73         perldata.pod    \
74         perldbmfilter.pod       \
75         perldebguts.pod \
76         perldebtut.pod  \
77         perldebug.pod   \
78         perldelta.pod   \
79         perldiag.pod    \
80         perldoc.pod     \
81         perldsc.pod     \
82         perlebcdic.pod  \
83         perlembed.pod   \
84         perlfaq.pod     \
85         perlfaq1.pod    \
86         perlfaq2.pod    \
87         perlfaq3.pod    \
88         perlfaq4.pod    \
89         perlfaq5.pod    \
90         perlfaq6.pod    \
91         perlfaq7.pod    \
92         perlfaq8.pod    \
93         perlfaq9.pod    \
94         perlfilter.pod  \
95         perlfork.pod    \
96         perlform.pod    \
97         perlfunc.pod    \
98         perlglossary.pod        \
99         perlgpl.pod     \
100         perlguts.pod    \
101         perlhack.pod    \
102         perlhist.pod    \
103         perlintern.pod  \
104         perlintro.pod   \
105         perliol.pod     \
106         perlipc.pod     \
107         perllexwarn.pod \
108         perllocale.pod  \
109         perllol.pod     \
110         perlmod.pod     \
111         perlmodinstall.pod      \
112         perlmodlib.pod  \
113         perlmodstyle.pod        \
114         perlmroapi.pod  \
115         perlnewmod.pod  \
116         perlnumber.pod  \
117         perlobj.pod     \
118         perlop.pod      \
119         perlopentut.pod \
120         perlpacktut.pod \
121         perlperf.pod    \
122         perlpod.pod     \
123         perlpodspec.pod \
124         perlpolicy.pod  \
125         perlport.pod    \
126         perlpragma.pod  \
127         perlre.pod      \
128         perlreapi.pod   \
129         perlrebackslash.pod     \
130         perlrecharclass.pod     \
131         perlref.pod     \
132         perlreftut.pod  \
133         perlreguts.pod  \
134         perlrepository.pod      \
135         perlrequick.pod \
136         perlreref.pod   \
137         perlretut.pod   \
138         perlrun.pod     \
139         perlsec.pod     \
140         perlstyle.pod   \
141         perlsub.pod     \
142         perlsyn.pod     \
143         perlthrtut.pod  \
144         perltie.pod     \
145         perltoc.pod     \
146         perltodo.pod    \
147         perltooc.pod    \
148         perltoot.pod    \
149         perltrap.pod    \
150         perlunicode.pod \
151         perlunifaq.pod  \
152         perluniintro.pod        \
153         perluniprops.pod        \
154         perlunitut.pod  \
155         perlutil.pod    \
156         perlvar.pod     \
157         perlvms.pod     \
158         perlxs.pod      \
159         perlxstut.pod   
160
161 MAN = \
162         perl.man        \
163         perl5004delta.man       \
164         perl5005delta.man       \
165         perl5100delta.man       \
166         perl5101delta.man       \
167         perl5110delta.man       \
168         perl5111delta.man       \
169         perl5112delta.man       \
170         perl5113delta.man       \
171         perl5114delta.man       \
172         perl5115delta.man       \
173         perl5120delta.man       \
174         perl5121delta.man       \
175         perl5130delta.man       \
176         perl5131delta.man       \
177         perl5132delta.man       \
178         perl5133delta.man       \
179         perl5134delta.man       \
180         perl5135delta.man       \
181         perl5136delta.man       \
182         perl561delta.man        \
183         perl56delta.man \
184         perl570delta.man        \
185         perl571delta.man        \
186         perl572delta.man        \
187         perl573delta.man        \
188         perl581delta.man        \
189         perl582delta.man        \
190         perl583delta.man        \
191         perl584delta.man        \
192         perl585delta.man        \
193         perl586delta.man        \
194         perl587delta.man        \
195         perl588delta.man        \
196         perl589delta.man        \
197         perl58delta.man \
198         perl590delta.man        \
199         perl591delta.man        \
200         perl592delta.man        \
201         perl593delta.man        \
202         perl594delta.man        \
203         perl595delta.man        \
204         perlapi.man     \
205         perlapio.man    \
206         perlartistic.man        \
207         perlbook.man    \
208         perlboot.man    \
209         perlbot.man     \
210         perlcall.man    \
211         perlcheat.man   \
212         perlclib.man    \
213         perlcommunity.man       \
214         perlcompile.man \
215         perldata.man    \
216         perldbmfilter.man       \
217         perldebguts.man \
218         perldebtut.man  \
219         perldebug.man   \
220         perldelta.man   \
221         perldiag.man    \
222         perldoc.man     \
223         perldsc.man     \
224         perlebcdic.man  \
225         perlembed.man   \
226         perlfaq.man     \
227         perlfaq1.man    \
228         perlfaq2.man    \
229         perlfaq3.man    \
230         perlfaq4.man    \
231         perlfaq5.man    \
232         perlfaq6.man    \
233         perlfaq7.man    \
234         perlfaq8.man    \
235         perlfaq9.man    \
236         perlfilter.man  \
237         perlfork.man    \
238         perlform.man    \
239         perlfunc.man    \
240         perlglossary.man        \
241         perlgpl.man     \
242         perlguts.man    \
243         perlhack.man    \
244         perlhist.man    \
245         perlintern.man  \
246         perlintro.man   \
247         perliol.man     \
248         perlipc.man     \
249         perllexwarn.man \
250         perllocale.man  \
251         perllol.man     \
252         perlmod.man     \
253         perlmodinstall.man      \
254         perlmodlib.man  \
255         perlmodstyle.man        \
256         perlmroapi.man  \
257         perlnewmod.man  \
258         perlnumber.man  \
259         perlobj.man     \
260         perlop.man      \
261         perlopentut.man \
262         perlpacktut.man \
263         perlperf.man    \
264         perlpod.man     \
265         perlpodspec.man \
266         perlpolicy.man  \
267         perlport.man    \
268         perlpragma.man  \
269         perlre.man      \
270         perlreapi.man   \
271         perlrebackslash.man     \
272         perlrecharclass.man     \
273         perlref.man     \
274         perlreftut.man  \
275         perlreguts.man  \
276         perlrepository.man      \
277         perlrequick.man \
278         perlreref.man   \
279         perlretut.man   \
280         perlrun.man     \
281         perlsec.man     \
282         perlstyle.man   \
283         perlsub.man     \
284         perlsyn.man     \
285         perlthrtut.man  \
286         perltie.man     \
287         perltoc.man     \
288         perltodo.man    \
289         perltooc.man    \
290         perltoot.man    \
291         perltrap.man    \
292         perlunicode.man \
293         perlunifaq.man  \
294         perluniintro.man        \
295         perluniprops.man        \
296         perlunitut.man  \
297         perlutil.man    \
298         perlvar.man     \
299         perlvms.man     \
300         perlxs.man      \
301         perlxstut.man   
302
303 HTML = \
304         perl.html       \
305         perl5004delta.html      \
306         perl5005delta.html      \
307         perl5100delta.html      \
308         perl5101delta.html      \
309         perl5110delta.html      \
310         perl5111delta.html      \
311         perl5112delta.html      \
312         perl5113delta.html      \
313         perl5114delta.html      \
314         perl5115delta.html      \
315         perl5120delta.html      \
316         perl5121delta.html      \
317         perl5130delta.html      \
318         perl5131delta.html      \
319         perl5132delta.html      \
320         perl5133delta.html      \
321         perl5134delta.html      \
322         perl5135delta.html      \
323         perl5136delta.html      \
324         perl561delta.html       \
325         perl56delta.html        \
326         perl570delta.html       \
327         perl571delta.html       \
328         perl572delta.html       \
329         perl573delta.html       \
330         perl581delta.html       \
331         perl582delta.html       \
332         perl583delta.html       \
333         perl584delta.html       \
334         perl585delta.html       \
335         perl586delta.html       \
336         perl587delta.html       \
337         perl588delta.html       \
338         perl589delta.html       \
339         perl58delta.html        \
340         perl590delta.html       \
341         perl591delta.html       \
342         perl592delta.html       \
343         perl593delta.html       \
344         perl594delta.html       \
345         perl595delta.html       \
346         perlapi.html    \
347         perlapio.html   \
348         perlartistic.html       \
349         perlbook.html   \
350         perlboot.html   \
351         perlbot.html    \
352         perlcall.html   \
353         perlcheat.html  \
354         perlclib.html   \
355         perlcommunity.html      \
356         perlcompile.html        \
357         perldata.html   \
358         perldbmfilter.html      \
359         perldebguts.html        \
360         perldebtut.html \
361         perldebug.html  \
362         perldelta.html  \
363         perldiag.html   \
364         perldoc.html    \
365         perldsc.html    \
366         perlebcdic.html \
367         perlembed.html  \
368         perlfaq.html    \
369         perlfaq1.html   \
370         perlfaq2.html   \
371         perlfaq3.html   \
372         perlfaq4.html   \
373         perlfaq5.html   \
374         perlfaq6.html   \
375         perlfaq7.html   \
376         perlfaq8.html   \
377         perlfaq9.html   \
378         perlfilter.html \
379         perlfork.html   \
380         perlform.html   \
381         perlfunc.html   \
382         perlglossary.html       \
383         perlgpl.html    \
384         perlguts.html   \
385         perlhack.html   \
386         perlhist.html   \
387         perlintern.html \
388         perlintro.html  \
389         perliol.html    \
390         perlipc.html    \
391         perllexwarn.html        \
392         perllocale.html \
393         perllol.html    \
394         perlmod.html    \
395         perlmodinstall.html     \
396         perlmodlib.html \
397         perlmodstyle.html       \
398         perlmroapi.html \
399         perlnewmod.html \
400         perlnumber.html \
401         perlobj.html    \
402         perlop.html     \
403         perlopentut.html        \
404         perlpacktut.html        \
405         perlperf.html   \
406         perlpod.html    \
407         perlpodspec.html        \
408         perlpolicy.html \
409         perlport.html   \
410         perlpragma.html \
411         perlre.html     \
412         perlreapi.html  \
413         perlrebackslash.html    \
414         perlrecharclass.html    \
415         perlref.html    \
416         perlreftut.html \
417         perlreguts.html \
418         perlrepository.html     \
419         perlrequick.html        \
420         perlreref.html  \
421         perlretut.html  \
422         perlrun.html    \
423         perlsec.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         perlunifaq.html \
435         perluniintro.html       \
436         perluniprops.html       \
437         perlunitut.html \
438         perlutil.html   \
439         perlvar.html    \
440         perlvms.html    \
441         perlxs.html     \
442         perlxstut.html  
443 # not perltoc.html
444
445 TEX = \
446         perl.tex        \
447         perl5004delta.tex       \
448         perl5005delta.tex       \
449         perl5100delta.tex       \
450         perl5101delta.tex       \
451         perl5110delta.tex       \
452         perl5111delta.tex       \
453         perl5112delta.tex       \
454         perl5113delta.tex       \
455         perl5114delta.tex       \
456         perl5115delta.tex       \
457         perl5120delta.tex       \
458         perl5121delta.tex       \
459         perl5130delta.tex       \
460         perl5131delta.tex       \
461         perl5132delta.tex       \
462         perl5133delta.tex       \
463         perl5134delta.tex       \
464         perl5135delta.tex       \
465         perl5136delta.tex       \
466         perl561delta.tex        \
467         perl56delta.tex \
468         perl570delta.tex        \
469         perl571delta.tex        \
470         perl572delta.tex        \
471         perl573delta.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         perl590delta.tex        \
483         perl591delta.tex        \
484         perl592delta.tex        \
485         perl593delta.tex        \
486         perl594delta.tex        \
487         perl595delta.tex        \
488         perlapi.tex     \
489         perlapio.tex    \
490         perlartistic.tex        \
491         perlbook.tex    \
492         perlboot.tex    \
493         perlbot.tex     \
494         perlcall.tex    \
495         perlcheat.tex   \
496         perlclib.tex    \
497         perlcommunity.tex       \
498         perlcompile.tex \
499         perldata.tex    \
500         perldbmfilter.tex       \
501         perldebguts.tex \
502         perldebtut.tex  \
503         perldebug.tex   \
504         perldelta.tex   \
505         perldiag.tex    \
506         perldoc.tex     \
507         perldsc.tex     \
508         perlebcdic.tex  \
509         perlembed.tex   \
510         perlfaq.tex     \
511         perlfaq1.tex    \
512         perlfaq2.tex    \
513         perlfaq3.tex    \
514         perlfaq4.tex    \
515         perlfaq5.tex    \
516         perlfaq6.tex    \
517         perlfaq7.tex    \
518         perlfaq8.tex    \
519         perlfaq9.tex    \
520         perlfilter.tex  \
521         perlfork.tex    \
522         perlform.tex    \
523         perlfunc.tex    \
524         perlglossary.tex        \
525         perlgpl.tex     \
526         perlguts.tex    \
527         perlhack.tex    \
528         perlhist.tex    \
529         perlintern.tex  \
530         perlintro.tex   \
531         perliol.tex     \
532         perlipc.tex     \
533         perllexwarn.tex \
534         perllocale.tex  \
535         perllol.tex     \
536         perlmod.tex     \
537         perlmodinstall.tex      \
538         perlmodlib.tex  \
539         perlmodstyle.tex        \
540         perlmroapi.tex  \
541         perlnewmod.tex  \
542         perlnumber.tex  \
543         perlobj.tex     \
544         perlop.tex      \
545         perlopentut.tex \
546         perlpacktut.tex \
547         perlperf.tex    \
548         perlpod.tex     \
549         perlpodspec.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         perlstyle.tex   \
567         perlsub.tex     \
568         perlsyn.tex     \
569         perlthrtut.tex  \
570         perltie.tex     \
571         perltoc.tex     \
572         perltodo.tex    \
573         perltooc.tex    \
574         perltoot.tex    \
575         perltrap.tex    \
576         perlunicode.tex \
577         perlunifaq.tex  \
578         perluniintro.tex        \
579         perluniprops.tex        \
580         perlunitut.tex  \
581         perlutil.tex    \
582         perlvar.tex     \
583         perlvms.tex     \
584         perlxs.tex      \
585         perlxstut.tex   
586
587 man:    pod2man $(MAN)
588
589 html:   pod2html $(HTML)
590
591 tex:    pod2latex $(TEX)
592
593 toc:
594         $(PERL) -I../lib buildtoc >perltoc.pod
595
596 .SUFFIXES: .pm .pod
597
598 .SUFFIXES: .man
599
600 .pm.man:
601         $(PERL) -I../lib pod2man $*.pm >$*.man
602
603 .pod.man:
604         $(PERL) -I../lib pod2man $*.pod >$*.man
605
606 .SUFFIXES: .html
607
608 .pm.html:
609         $(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html
610
611 .pod.html:
612         $(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html
613
614 .SUFFIXES: .tex
615
616 .pm.tex:
617         $(PERL) -I../lib pod2latex $*.pm
618
619 .pod.tex:
620         $(PERL) -I../lib pod2latex $*.pod
621
622 clean:
623         rm -f $(MAN)
624         rm -f $(HTML)
625         rm -f $(TEX)
626         rm -f pod2html-*cache
627         rm -f *.aux *.log *.exe
628
629 realclean:      clean
630         rm -f $(CONVERTERS)
631
632 distclean:      realclean
633
634 check:  podchecker
635         @echo "checking..."; \
636         $(PERL) -I../lib podchecker $(POD)
637
638 # Dependencies.
639 pod2latex:      pod2latex.PL ../lib/Config.pm
640         $(PERL) -I../lib $(ICWD) pod2latex.PL
641
642 pod2html:       pod2html.PL ../lib/Config.pm
643         $(PERL) -I ../lib $(ICWD) pod2html.PL
644
645 pod2man:        pod2man.PL ../lib/Config.pm
646         $(PERL) -I ../lib $(ICWD) pod2man.PL
647
648 pod2text:       pod2text.PL ../lib/Config.pm
649         $(PERL) -I ../lib $(ICWD) pod2text.PL
650
651 pod2usage:      pod2usage.PL ../lib/Config.pm
652         $(PERL) -I ../lib $(ICWD) pod2usage.PL
653
654 podchecker:     podchecker.PL ../lib/Config.pm
655         $(PERL) -I ../lib $(ICWD) podchecker.PL
656
657 podselect:      podselect.PL ../lib/Config.pm
658         $(PERL) -I ../lib $(ICWD) podselect.PL