source: trunk/third/perl/win32/pod.mak @ 14545

Revision 14545, 5.5 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14544, which included commits to RCS files with non-trunk default branches.
Line 
1CONVERTERS = pod2html pod2latex pod2man pod2text checkpods \
2                pod2usage podchecker podselect
3
4HTMLROOT = /    # Change this to fix cross-references in HTML
5POD2HTML = pod2html \
6            --htmlroot=$(HTMLROOT) \
7            --podroot=.. --podpath=pod:lib:ext:vms \
8            --libpods=perlfunc:perlguts:perlvar:perlrun:perlop
9
10all: $(CONVERTERS) html
11
12converters: $(CONVERTERS)
13
14PERL = ..\miniperl.exe
15REALPERL = ..\perl.exe
16
17POD = \
18        perl.pod        \
19        perldelta.pod   \
20        perl5004delta.pod       \
21        perl5005delta.pod       \
22        perldata.pod    \
23        perlsyn.pod     \
24        perlop.pod      \
25        perlre.pod      \
26        perlrun.pod     \
27        perlfunc.pod    \
28        perlopentut.pod \
29        perlvar.pod     \
30        perlsub.pod     \
31        perlmod.pod     \
32        perlmodlib.pod  \
33        perlmodinstall.pod      \
34        perlform.pod    \
35        perllocale.pod  \
36        perlref.pod     \
37        perlreftut.pod  \
38        perldsc.pod     \
39        perllol.pod     \
40        perltoot.pod    \
41        perlobj.pod     \
42        perltie.pod     \
43        perlbot.pod     \
44        perlipc.pod     \
45        perlthrtut.pod  \
46        perldebug.pod   \
47        perldiag.pod    \
48        perlsec.pod     \
49        perltrap.pod    \
50        perlport.pod    \
51        perlstyle.pod   \
52        perlpod.pod     \
53        perlbook.pod    \
54        perlembed.pod   \
55        perlapio.pod    \
56        perlwin32.pod   \
57        perlxs.pod      \
58        perlxstut.pod   \
59        perlguts.pod    \
60        perlcall.pod    \
61        perltodo.pod    \
62        perlhist.pod    \
63        perlfaq.pod     \
64        perlfaq1.pod    \
65        perlfaq2.pod    \
66        perlfaq3.pod    \
67        perlfaq4.pod    \
68        perlfaq5.pod    \
69        perlfaq6.pod    \
70        perlfaq7.pod    \
71        perlfaq8.pod    \
72        perlfaq9.pod    \
73        perltoc.pod
74
75MAN = \
76        perl.man        \
77        perldelta.man   \
78        perl5004delta.man       \
79        perl5005delta.man       \
80        perldata.man    \
81        perlsyn.man     \
82        perlop.man      \
83        perlre.man      \
84        perlrun.man     \
85        perlfunc.man    \
86        perlopentut.man \
87        perlvar.man     \
88        perlsub.man     \
89        perlmod.man     \
90        perlmodlib.man  \
91        perlmodinstall.man      \
92        perlform.man    \
93        perllocale.man  \
94        perlref.man     \
95        perlreftut.man  \
96        perldsc.man     \
97        perllol.man     \
98        perltoot.man    \
99        perlobj.man     \
100        perltie.man     \
101        perlbot.man     \
102        perlipc.man     \
103        perlthrtut.man  \
104        perldebug.man   \
105        perldiag.man    \
106        perlsec.man     \
107        perltrap.man    \
108        perlport.man    \
109        perlstyle.man   \
110        perlpod.man     \
111        perlbook.man    \
112        perlembed.man   \
113        perlapio.man    \
114        perlwin32.man   \
115        perlxs.man      \
116        perlxstut.man   \
117        perlguts.man    \
118        perlcall.man    \
119        perltodo.man    \
120        perlhist.man    \
121        perlfaq.man     \
122        perlfaq1.man    \
123        perlfaq2.man    \
124        perlfaq3.man    \
125        perlfaq4.man    \
126        perlfaq5.man    \
127        perlfaq6.man    \
128        perlfaq7.man    \
129        perlfaq8.man    \
130        perlfaq9.man    \
131        perltoc.man
132
133HTML = \
134        perl.html       \
135        perldelta.html  \
136        perl5004delta.html      \
137        perl5005delta.html      \
138        perldata.html   \
139        perlsyn.html    \
140        perlop.html     \
141        perlre.html     \
142        perlrun.html    \
143        perlfunc.html   \
144        perlopentut.html        \
145        perlvar.html    \
146        perlsub.html    \
147        perlmod.html    \
148        perlmodlib.html \
149        perlmodinstall.html     \
150        perlform.html   \
151        perllocale.html \
152        perlref.html    \
153        perlreftut.html \
154        perldsc.html    \
155        perllol.html    \
156        perltoot.html   \
157        perlobj.html    \
158        perltie.html    \
159        perlbot.html    \
160        perlipc.html    \
161        perlthrtut.html \
162        perldebug.html  \
163        perldiag.html   \
164        perlsec.html    \
165        perltrap.html   \
166        perlport.html   \
167        perlstyle.html  \
168        perlpod.html    \
169        perlbook.html   \
170        perlembed.html  \
171        perlapio.html   \
172        perlwin32.html  \
173        perlxs.html     \
174        perlxstut.html  \
175        perlguts.html   \
176        perlcall.html   \
177        perltodo.html   \
178        perlhist.html   \
179        perlfaq.html    \
180        perlfaq1.html   \
181        perlfaq2.html   \
182        perlfaq3.html   \
183        perlfaq4.html   \
184        perlfaq5.html   \
185        perlfaq6.html   \
186        perlfaq7.html   \
187        perlfaq8.html   \
188        perlfaq9.html
189# not perltoc.html
190
191TEX = \
192        perl.tex        \
193        perldelta.tex   \
194        perl5004delta.tex       \
195        perl5005delta.tex       \
196        perldata.tex    \
197        perlsyn.tex     \
198        perlop.tex      \
199        perlre.tex      \
200        perlrun.tex     \
201        perlfunc.tex    \
202        perlopentut.tex \
203        perlvar.tex     \
204        perlsub.tex     \
205        perlmod.tex     \
206        perlmodlib.tex  \
207        perlmodinstall.tex      \
208        perlform.tex    \
209        perllocale.tex  \
210        perlref.tex     \
211        perlreftut.tex  \
212        perldsc.tex     \
213        perllol.tex     \
214        perltoot.tex    \
215        perlobj.tex     \
216        perltie.tex     \
217        perlbot.tex     \
218        perlipc.tex     \
219        perlthrtut.tex  \
220        perldebug.tex   \
221        perldiag.tex    \
222        perlsec.tex     \
223        perltrap.tex    \
224        perlport.tex    \
225        perlstyle.tex   \
226        perlpod.tex     \
227        perlbook.tex    \
228        perlembed.tex   \
229        perlapio.tex    \
230        perlwin32.tex   \
231        perlxs.tex      \
232        perlxstut.tex   \
233        perlguts.tex    \
234        perlcall.tex    \
235        perltodo.tex    \
236        perlhist.tex    \
237        perlfaq.tex     \
238        perlfaq1.tex    \
239        perlfaq2.tex    \
240        perlfaq3.tex    \
241        perlfaq4.tex    \
242        perlfaq5.tex    \
243        perlfaq6.tex    \
244        perlfaq7.tex    \
245        perlfaq8.tex    \
246        perlfaq9.tex    \
247        perltoc.tex
248
249man:    pod2man $(MAN)
250
251html:   pod2html $(HTML)
252
253tex:    pod2latex $(TEX)
254
255toc:
256        $(PERL) -I../lib buildtoc >perltoc.pod
257
258.SUFFIXES: .pm .pod
259
260.SUFFIXES: .man
261
262.pm.man:
263        $(PERL) -I../lib pod2man $*.pm >$*.man
264
265.pod.man:
266        $(PERL) -I../lib pod2man $*.pod >$*.man
267
268.SUFFIXES: .html
269
270.pm.html:
271        $(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html
272
273.pod.html:
274        $(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html
275
276.SUFFIXES: .tex
277
278.pm.tex:
279        $(PERL) -I../lib pod2latex $*.pm
280
281.pod.tex:
282        $(PERL) -I../lib pod2latex $*.pod
283
284clean:
285        rm -f $(MAN)
286        rm -f $(HTML)
287        rm -f $(TEX)
288        rm -f pod2html-*cache
289        rm -f *.aux *.log *.exe
290
291realclean:      clean
292        rm -f $(CONVERTERS)
293
294distclean:      realclean
295
296check:  checkpods
297        @echo "checking..."; \
298        $(PERL) -I../lib checkpods $(POD)
299
300# Dependencies.
301pod2latex:      pod2latex.PL ../lib/Config.pm
302        $(PERL) -I../lib pod2latex.PL
303
304pod2html:       pod2html.PL ../lib/Config.pm
305        $(PERL) -I ../lib pod2html.PL
306
307pod2man:        pod2man.PL ../lib/Config.pm
308        $(PERL) -I ../lib pod2man.PL
309
310pod2text:       pod2text.PL ../lib/Config.pm
311        $(PERL) -I ../lib pod2text.PL
312
313checkpods:      checkpods.PL ../lib/Config.pm
314        $(PERL) -I ../lib checkpods.PL
315
316pod2usage:      pod2usage.PL ../lib/Config.pm
317        $(PERL) -I ../lib pod2usage.PL
318
319podchecker:     podchecker.PL ../lib/Config.pm
320        $(PERL) -I ../lib podchecker.PL
321
322podselect:      podselect.PL ../lib/Config.pm
323        $(PERL) -I ../lib podselect.PL
324
325compile: all
326        $(REALPERL) -I../lib ../utils/perlcc -regex 's/$$/.exe/' pod2latex pod2man pod2text checkpods -prog -verbose dcf -log ../compilelog;
327
328       
Note: See TracBrowser for help on using the repository browser.