This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Pod tweaks for NEXT from Alan Ferrency.
[perl5.git] / win32 / pod.mak
CommitLineData
360aca43
GS
1CONVERTERS = pod2html pod2latex pod2man pod2text checkpods \
2 pod2usage podchecker podselect
5aabfad6
PP
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
4a71ed0c
GS
12converters: $(CONVERTERS)
13
5aabfad6 14PERL = ..\miniperl.exe
4a71ed0c 15REALPERL = ..\perl.exe
5aabfad6
PP
16
17POD = \
18 perl.pod \
19 perldelta.pod \
e50bb9a1
GS
20 perl5004delta.pod \
21 perl5005delta.pod \
5aabfad6
PP
22 perldata.pod \
23 perlsyn.pod \
24 perlop.pod \
25 perlre.pod \
30b0513f
JH
26 perlreref.pod \
27 perlretut.pod \
28 perlrequick.pod \
5aabfad6
PP
29 perlrun.pod \
30 perlfunc.pod \
c4d0c168 31 perlopentut.pod \
5aabfad6
PP
32 perlvar.pod \
33 perlsub.pod \
34 perlmod.pod \
4a71ed0c 35 perlmodlib.pod \
fb9cefb4 36 perlmodinstall.pod \
5aabfad6
PP
37 perlform.pod \
38 perllocale.pod \
30b0513f
JH
39 perlunicode.pod \
40 perluniintro.pod \
5aabfad6 41 perlref.pod \
a1e2a320 42 perlreftut.pod \
5aabfad6
PP
43 perldsc.pod \
44 perllol.pod \
45 perltoot.pod \
46 perlobj.pod \
47 perltie.pod \
48 perlbot.pod \
49 perlipc.pod \
c4d0c168 50 perlthrtut.pod \
5aabfad6
PP
51 perldebug.pod \
52 perldiag.pod \
53 perlsec.pod \
54 perltrap.pod \
30b0513f 55 perlcheat.pod \
fb9cefb4 56 perlport.pod \
5aabfad6
PP
57 perlstyle.pod \
58 perlpod.pod \
59 perlbook.pod \
60 perlembed.pod \
61 perlapio.pod \
fb9cefb4 62 perlwin32.pod \
5aabfad6
PP
63 perlxs.pod \
64 perlxstut.pod \
65 perlguts.pod \
66 perlcall.pod \
e50bb9a1
GS
67 perltodo.pod \
68 perlhist.pod \
5aabfad6
PP
69 perlfaq.pod \
70 perlfaq1.pod \
71 perlfaq2.pod \
72 perlfaq3.pod \
73 perlfaq4.pod \
74 perlfaq5.pod \
75 perlfaq6.pod \
76 perlfaq7.pod \
77 perlfaq8.pod \
78 perlfaq9.pod \
79 perltoc.pod
80
81MAN = \
82 perl.man \
83 perldelta.man \
e50bb9a1
GS
84 perl5004delta.man \
85 perl5005delta.man \
5aabfad6
PP
86 perldata.man \
87 perlsyn.man \
88 perlop.man \
89 perlre.man \
30b0513f
JH
90 perlreref.man \
91 perlretut.man \
92 perlrequick.man \
5aabfad6
PP
93 perlrun.man \
94 perlfunc.man \
c4d0c168 95 perlopentut.man \
5aabfad6
PP
96 perlvar.man \
97 perlsub.man \
98 perlmod.man \
4a71ed0c 99 perlmodlib.man \
fb9cefb4 100 perlmodinstall.man \
5aabfad6
PP
101 perlform.man \
102 perllocale.man \
30b0513f
JH
103 perlunicode.man \
104 perluniintro.man \
5aabfad6 105 perlref.man \
c4d0c168 106 perlreftut.man \
5aabfad6
PP
107 perldsc.man \
108 perllol.man \
109 perltoot.man \
110 perlobj.man \
111 perltie.man \
112 perlbot.man \
113 perlipc.man \
c4d0c168 114 perlthrtut.man \
5aabfad6
PP
115 perldebug.man \
116 perldiag.man \
117 perlsec.man \
118 perltrap.man \
30b0513f 119 perlcheat.man \
fb9cefb4 120 perlport.man \
5aabfad6
PP
121 perlstyle.man \
122 perlpod.man \
123 perlbook.man \
124 perlembed.man \
125 perlapio.man \
fb9cefb4 126 perlwin32.man \
5aabfad6
PP
127 perlxs.man \
128 perlxstut.man \
129 perlguts.man \
130 perlcall.man \
e50bb9a1
GS
131 perltodo.man \
132 perlhist.man \
5aabfad6
PP
133 perlfaq.man \
134 perlfaq1.man \
135 perlfaq2.man \
136 perlfaq3.man \
137 perlfaq4.man \
138 perlfaq5.man \
139 perlfaq6.man \
140 perlfaq7.man \
141 perlfaq8.man \
142 perlfaq9.man \
143 perltoc.man
144
145HTML = \
146 perl.html \
147 perldelta.html \
e50bb9a1
GS
148 perl5004delta.html \
149 perl5005delta.html \
5aabfad6
PP
150 perldata.html \
151 perlsyn.html \
152 perlop.html \
153 perlre.html \
30b0513f
JH
154 perlreref.html \
155 perlretut.html \
156 perlrequick.html \
5aabfad6
PP
157 perlrun.html \
158 perlfunc.html \
c4d0c168 159 perlopentut.html \
5aabfad6
PP
160 perlvar.html \
161 perlsub.html \
162 perlmod.html \
4a71ed0c 163 perlmodlib.html \
fb9cefb4 164 perlmodinstall.html \
5aabfad6
PP
165 perlform.html \
166 perllocale.html \
30b0513f
JH
167 perlunicode.html \
168 perluniintro.html \
5aabfad6 169 perlref.html \
c4d0c168 170 perlreftut.html \
5aabfad6
PP
171 perldsc.html \
172 perllol.html \
173 perltoot.html \
174 perlobj.html \
175 perltie.html \
176 perlbot.html \
177 perlipc.html \
c4d0c168 178 perlthrtut.html \
5aabfad6
PP
179 perldebug.html \
180 perldiag.html \
181 perlsec.html \
182 perltrap.html \
30b0513f 183 perlcheat.html \
fb9cefb4 184 perlport.html \
5aabfad6
PP
185 perlstyle.html \
186 perlpod.html \
187 perlbook.html \
188 perlembed.html \
189 perlapio.html \
fb9cefb4 190 perlwin32.html \
5aabfad6
PP
191 perlxs.html \
192 perlxstut.html \
193 perlguts.html \
194 perlcall.html \
e50bb9a1
GS
195 perltodo.html \
196 perlhist.html \
5aabfad6
PP
197 perlfaq.html \
198 perlfaq1.html \
199 perlfaq2.html \
200 perlfaq3.html \
201 perlfaq4.html \
202 perlfaq5.html \
203 perlfaq6.html \
204 perlfaq7.html \
205 perlfaq8.html \
206 perlfaq9.html
207# not perltoc.html
208
209TEX = \
210 perl.tex \
211 perldelta.tex \
e50bb9a1
GS
212 perl5004delta.tex \
213 perl5005delta.tex \
5aabfad6
PP
214 perldata.tex \
215 perlsyn.tex \
216 perlop.tex \
217 perlre.tex \
30b0513f
JH
218 perlreref.tex \
219 perlretut.tex \
220 perlrequick.tex \
5aabfad6
PP
221 perlrun.tex \
222 perlfunc.tex \
c4d0c168 223 perlopentut.tex \
5aabfad6
PP
224 perlvar.tex \
225 perlsub.tex \
226 perlmod.tex \
4a71ed0c 227 perlmodlib.tex \
fb9cefb4 228 perlmodinstall.tex \
5aabfad6
PP
229 perlform.tex \
230 perllocale.tex \
30b0513f
JH
231 perlunicode.tex \
232 perluniintro.tex \
5aabfad6 233 perlref.tex \
c4d0c168 234 perlreftut.tex \
5aabfad6
PP
235 perldsc.tex \
236 perllol.tex \
237 perltoot.tex \
238 perlobj.tex \
239 perltie.tex \
240 perlbot.tex \
241 perlipc.tex \
c4d0c168 242 perlthrtut.tex \
5aabfad6
PP
243 perldebug.tex \
244 perldiag.tex \
245 perlsec.tex \
246 perltrap.tex \
30b0513f 247 perlcheat.tex \
fb9cefb4 248 perlport.tex \
5aabfad6
PP
249 perlstyle.tex \
250 perlpod.tex \
251 perlbook.tex \
252 perlembed.tex \
253 perlapio.tex \
fb9cefb4 254 perlwin32.tex \
5aabfad6
PP
255 perlxs.tex \
256 perlxstut.tex \
257 perlguts.tex \
258 perlcall.tex \
e50bb9a1
GS
259 perltodo.tex \
260 perlhist.tex \
5aabfad6
PP
261 perlfaq.tex \
262 perlfaq1.tex \
263 perlfaq2.tex \
264 perlfaq3.tex \
265 perlfaq4.tex \
266 perlfaq5.tex \
267 perlfaq6.tex \
268 perlfaq7.tex \
269 perlfaq8.tex \
270 perlfaq9.tex \
271 perltoc.tex
272
273man: pod2man $(MAN)
274
275html: pod2html $(HTML)
276
277tex: pod2latex $(TEX)
278
279toc:
4a71ed0c 280 $(PERL) -I../lib buildtoc >perltoc.pod
5aabfad6
PP
281
282.SUFFIXES: .pm .pod
283
284.SUFFIXES: .man
285
286.pm.man:
4a71ed0c 287 $(PERL) -I../lib pod2man $*.pm >$*.man
5aabfad6
PP
288
289.pod.man:
4a71ed0c 290 $(PERL) -I../lib pod2man $*.pod >$*.man
5aabfad6
PP
291
292.SUFFIXES: .html
293
294.pm.html:
4a71ed0c 295 $(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html
5aabfad6
PP
296
297.pod.html:
4a71ed0c 298 $(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html
5aabfad6
PP
299
300.SUFFIXES: .tex
301
302.pm.tex:
4a71ed0c 303 $(PERL) -I../lib pod2latex $*.pm
5aabfad6
PP
304
305.pod.tex:
4a71ed0c 306 $(PERL) -I../lib pod2latex $*.pod
5aabfad6
PP
307
308clean:
4a71ed0c
GS
309 rm -f $(MAN)
310 rm -f $(HTML)
311 rm -f $(TEX)
312 rm -f pod2html-*cache
313 rm -f *.aux *.log *.exe
5aabfad6
PP
314
315realclean: clean
4a71ed0c 316 rm -f $(CONVERTERS)
5aabfad6
PP
317
318distclean: realclean
319
320check: checkpods
321 @echo "checking..."; \
4a71ed0c 322 $(PERL) -I../lib checkpods $(POD)
5aabfad6
PP
323
324# Dependencies.
4a71ed0c
GS
325pod2latex: pod2latex.PL ../lib/Config.pm
326 $(PERL) -I../lib pod2latex.PL
5aabfad6 327
4a71ed0c
GS
328pod2html: pod2html.PL ../lib/Config.pm
329 $(PERL) -I ../lib pod2html.PL
5aabfad6 330
4a71ed0c
GS
331pod2man: pod2man.PL ../lib/Config.pm
332 $(PERL) -I ../lib pod2man.PL
5aabfad6 333
4a71ed0c
GS
334pod2text: pod2text.PL ../lib/Config.pm
335 $(PERL) -I ../lib pod2text.PL
5aabfad6 336
4a71ed0c
GS
337checkpods: checkpods.PL ../lib/Config.pm
338 $(PERL) -I ../lib checkpods.PL
5aabfad6 339
360aca43
GS
340pod2usage: pod2usage.PL ../lib/Config.pm
341 $(PERL) -I ../lib pod2usage.PL
342
343podchecker: podchecker.PL ../lib/Config.pm
344 $(PERL) -I ../lib podchecker.PL
345
346podselect: podselect.PL ../lib/Config.pm
347 $(PERL) -I ../lib podselect.PL
348
4a71ed0c 349compile: all
e4f0d88d
EP
350 $(REALPERL) -I../lib ../utils/perlcc pod2latex -o pod2latex.exe -v 10 -log ../compilelog
351 $(REALPERL) -I../lib ../utils/perlcc pod2man -o pod2man.exe -v 10 -log ../compilelog
352 $(REALPERL) -I../lib ../utils/perlcc pod2text -o pod2text.exe -v 10 -log ../compilelog
353 $(REALPERL) -I../lib ../utils/perlcc checkpods -o checkpods.exe -v 10 -log ../compilelog