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