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