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