Commit | Line | Data |
---|---|---|
360aca43 | 1 | CONVERTERS = pod2html pod2latex pod2man pod2text checkpods \ |
2 | pod2usage podchecker podselect | |
5aabfad6 | 3 | |
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 | ||
10 | all: $(CONVERTERS) html | |
11 | ||
4a71ed0c | 12 | converters: $(CONVERTERS) |
13 | ||
5aabfad6 | 14 | PERL = ..\miniperl.exe |
4a71ed0c | 15 | REALPERL = ..\perl.exe |
5aabfad6 | 16 | |
17 | POD = \ | |
18 | perl.pod \ | |
19 | perldelta.pod \ | |
e50bb9a1 | 20 | perl5004delta.pod \ |
21 | perl5005delta.pod \ | |
5aabfad6 | 22 | perldata.pod \ |
23 | perlsyn.pod \ | |
24 | perlop.pod \ | |
25 | perlre.pod \ | |
26 | perlrun.pod \ | |
27 | perlfunc.pod \ | |
c4d0c168 | 28 | perlopentut.pod \ |
5aabfad6 | 29 | perlvar.pod \ |
30 | perlsub.pod \ | |
31 | perlmod.pod \ | |
4a71ed0c | 32 | perlmodlib.pod \ |
fb9cefb4 | 33 | perlmodinstall.pod \ |
5aabfad6 | 34 | perlform.pod \ |
35 | perllocale.pod \ | |
36 | perlref.pod \ | |
a1e2a320 | 37 | perlreftut.pod \ |
5aabfad6 | 38 | perldsc.pod \ |
39 | perllol.pod \ | |
40 | perltoot.pod \ | |
41 | perlobj.pod \ | |
42 | perltie.pod \ | |
43 | perlbot.pod \ | |
44 | perlipc.pod \ | |
c4d0c168 | 45 | perlthrtut.pod \ |
5aabfad6 | 46 | perldebug.pod \ |
47 | perldiag.pod \ | |
48 | perlsec.pod \ | |
49 | perltrap.pod \ | |
fb9cefb4 | 50 | perlport.pod \ |
5aabfad6 | 51 | perlstyle.pod \ |
52 | perlpod.pod \ | |
53 | perlbook.pod \ | |
54 | perlembed.pod \ | |
55 | perlapio.pod \ | |
fb9cefb4 | 56 | perlwin32.pod \ |
5aabfad6 | 57 | perlxs.pod \ |
58 | perlxstut.pod \ | |
59 | perlguts.pod \ | |
60 | perlcall.pod \ | |
e50bb9a1 | 61 | perltodo.pod \ |
62 | perlhist.pod \ | |
5aabfad6 | 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 | ||
75 | MAN = \ | |
76 | perl.man \ | |
77 | perldelta.man \ | |
e50bb9a1 | 78 | perl5004delta.man \ |
79 | perl5005delta.man \ | |
5aabfad6 | 80 | perldata.man \ |
81 | perlsyn.man \ | |
82 | perlop.man \ | |
83 | perlre.man \ | |
84 | perlrun.man \ | |
85 | perlfunc.man \ | |
c4d0c168 | 86 | perlopentut.man \ |
5aabfad6 | 87 | perlvar.man \ |
88 | perlsub.man \ | |
89 | perlmod.man \ | |
4a71ed0c | 90 | perlmodlib.man \ |
fb9cefb4 | 91 | perlmodinstall.man \ |
5aabfad6 | 92 | perlform.man \ |
93 | perllocale.man \ | |
94 | perlref.man \ | |
c4d0c168 | 95 | perlreftut.man \ |
5aabfad6 | 96 | perldsc.man \ |
97 | perllol.man \ | |
98 | perltoot.man \ | |
99 | perlobj.man \ | |
100 | perltie.man \ | |
101 | perlbot.man \ | |
102 | perlipc.man \ | |
c4d0c168 | 103 | perlthrtut.man \ |
5aabfad6 | 104 | perldebug.man \ |
105 | perldiag.man \ | |
106 | perlsec.man \ | |
107 | perltrap.man \ | |
fb9cefb4 | 108 | perlport.man \ |
5aabfad6 | 109 | perlstyle.man \ |
110 | perlpod.man \ | |
111 | perlbook.man \ | |
112 | perlembed.man \ | |
113 | perlapio.man \ | |
fb9cefb4 | 114 | perlwin32.man \ |
5aabfad6 | 115 | perlxs.man \ |
116 | perlxstut.man \ | |
117 | perlguts.man \ | |
118 | perlcall.man \ | |
e50bb9a1 | 119 | perltodo.man \ |
120 | perlhist.man \ | |
5aabfad6 | 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 | ||
133 | HTML = \ | |
134 | perl.html \ | |
135 | perldelta.html \ | |
e50bb9a1 | 136 | perl5004delta.html \ |
137 | perl5005delta.html \ | |
5aabfad6 | 138 | perldata.html \ |
139 | perlsyn.html \ | |
140 | perlop.html \ | |
141 | perlre.html \ | |
142 | perlrun.html \ | |
143 | perlfunc.html \ | |
c4d0c168 | 144 | perlopentut.html \ |
5aabfad6 | 145 | perlvar.html \ |
146 | perlsub.html \ | |
147 | perlmod.html \ | |
4a71ed0c | 148 | perlmodlib.html \ |
fb9cefb4 | 149 | perlmodinstall.html \ |
5aabfad6 | 150 | perlform.html \ |
151 | perllocale.html \ | |
152 | perlref.html \ | |
c4d0c168 | 153 | perlreftut.html \ |
5aabfad6 | 154 | perldsc.html \ |
155 | perllol.html \ | |
156 | perltoot.html \ | |
157 | perlobj.html \ | |
158 | perltie.html \ | |
159 | perlbot.html \ | |
160 | perlipc.html \ | |
c4d0c168 | 161 | perlthrtut.html \ |
5aabfad6 | 162 | perldebug.html \ |
163 | perldiag.html \ | |
164 | perlsec.html \ | |
165 | perltrap.html \ | |
fb9cefb4 | 166 | perlport.html \ |
5aabfad6 | 167 | perlstyle.html \ |
168 | perlpod.html \ | |
169 | perlbook.html \ | |
170 | perlembed.html \ | |
171 | perlapio.html \ | |
fb9cefb4 | 172 | perlwin32.html \ |
5aabfad6 | 173 | perlxs.html \ |
174 | perlxstut.html \ | |
175 | perlguts.html \ | |
176 | perlcall.html \ | |
e50bb9a1 | 177 | perltodo.html \ |
178 | perlhist.html \ | |
5aabfad6 | 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 | ||
191 | TEX = \ | |
192 | perl.tex \ | |
193 | perldelta.tex \ | |
e50bb9a1 | 194 | perl5004delta.tex \ |
195 | perl5005delta.tex \ | |
5aabfad6 | 196 | perldata.tex \ |
197 | perlsyn.tex \ | |
198 | perlop.tex \ | |
199 | perlre.tex \ | |
200 | perlrun.tex \ | |
201 | perlfunc.tex \ | |
c4d0c168 | 202 | perlopentut.tex \ |
5aabfad6 | 203 | perlvar.tex \ |
204 | perlsub.tex \ | |
205 | perlmod.tex \ | |
4a71ed0c | 206 | perlmodlib.tex \ |
fb9cefb4 | 207 | perlmodinstall.tex \ |
5aabfad6 | 208 | perlform.tex \ |
209 | perllocale.tex \ | |
210 | perlref.tex \ | |
c4d0c168 | 211 | perlreftut.tex \ |
5aabfad6 | 212 | perldsc.tex \ |
213 | perllol.tex \ | |
214 | perltoot.tex \ | |
215 | perlobj.tex \ | |
216 | perltie.tex \ | |
217 | perlbot.tex \ | |
218 | perlipc.tex \ | |
c4d0c168 | 219 | perlthrtut.tex \ |
5aabfad6 | 220 | perldebug.tex \ |
221 | perldiag.tex \ | |
222 | perlsec.tex \ | |
223 | perltrap.tex \ | |
fb9cefb4 | 224 | perlport.tex \ |
5aabfad6 | 225 | perlstyle.tex \ |
226 | perlpod.tex \ | |
227 | perlbook.tex \ | |
228 | perlembed.tex \ | |
229 | perlapio.tex \ | |
fb9cefb4 | 230 | perlwin32.tex \ |
5aabfad6 | 231 | perlxs.tex \ |
232 | perlxstut.tex \ | |
233 | perlguts.tex \ | |
234 | perlcall.tex \ | |
e50bb9a1 | 235 | perltodo.tex \ |
236 | perlhist.tex \ | |
5aabfad6 | 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 | ||
249 | man: pod2man $(MAN) | |
250 | ||
251 | html: pod2html $(HTML) | |
252 | ||
253 | tex: pod2latex $(TEX) | |
254 | ||
255 | toc: | |
4a71ed0c | 256 | $(PERL) -I../lib buildtoc >perltoc.pod |
5aabfad6 | 257 | |
258 | .SUFFIXES: .pm .pod | |
259 | ||
260 | .SUFFIXES: .man | |
261 | ||
262 | .pm.man: | |
4a71ed0c | 263 | $(PERL) -I../lib pod2man $*.pm >$*.man |
5aabfad6 | 264 | |
265 | .pod.man: | |
4a71ed0c | 266 | $(PERL) -I../lib pod2man $*.pod >$*.man |
5aabfad6 | 267 | |
268 | .SUFFIXES: .html | |
269 | ||
270 | .pm.html: | |
4a71ed0c | 271 | $(PERL) -I../lib $(POD2HTML) --infile=$*.pm --outfile=$*.html |
5aabfad6 | 272 | |
273 | .pod.html: | |
4a71ed0c | 274 | $(PERL) -I../lib $(POD2HTML) --infile=$*.pod --outfile=$*.html |
5aabfad6 | 275 | |
276 | .SUFFIXES: .tex | |
277 | ||
278 | .pm.tex: | |
4a71ed0c | 279 | $(PERL) -I../lib pod2latex $*.pm |
5aabfad6 | 280 | |
281 | .pod.tex: | |
4a71ed0c | 282 | $(PERL) -I../lib pod2latex $*.pod |
5aabfad6 | 283 | |
284 | clean: | |
4a71ed0c | 285 | rm -f $(MAN) |
286 | rm -f $(HTML) | |
287 | rm -f $(TEX) | |
288 | rm -f pod2html-*cache | |
289 | rm -f *.aux *.log *.exe | |
5aabfad6 | 290 | |
291 | realclean: clean | |
4a71ed0c | 292 | rm -f $(CONVERTERS) |
5aabfad6 | 293 | |
294 | distclean: realclean | |
295 | ||
296 | check: checkpods | |
297 | @echo "checking..."; \ | |
4a71ed0c | 298 | $(PERL) -I../lib checkpods $(POD) |
5aabfad6 | 299 | |
300 | # Dependencies. | |
4a71ed0c | 301 | pod2latex: pod2latex.PL ../lib/Config.pm |
302 | $(PERL) -I../lib pod2latex.PL | |
5aabfad6 | 303 | |
4a71ed0c | 304 | pod2html: pod2html.PL ../lib/Config.pm |
305 | $(PERL) -I ../lib pod2html.PL | |
5aabfad6 | 306 | |
4a71ed0c | 307 | pod2man: pod2man.PL ../lib/Config.pm |
308 | $(PERL) -I ../lib pod2man.PL | |
5aabfad6 | 309 | |
4a71ed0c | 310 | pod2text: pod2text.PL ../lib/Config.pm |
311 | $(PERL) -I ../lib pod2text.PL | |
5aabfad6 | 312 | |
4a71ed0c | 313 | checkpods: checkpods.PL ../lib/Config.pm |
314 | $(PERL) -I ../lib checkpods.PL | |
5aabfad6 | 315 | |
360aca43 | 316 | pod2usage: pod2usage.PL ../lib/Config.pm |
317 | $(PERL) -I ../lib pod2usage.PL | |
318 | ||
319 | podchecker: podchecker.PL ../lib/Config.pm | |
320 | $(PERL) -I ../lib podchecker.PL | |
321 | ||
322 | podselect: podselect.PL ../lib/Config.pm | |
323 | $(PERL) -I ../lib podselect.PL | |
324 | ||
4a71ed0c | 325 | compile: all |
326 | $(REALPERL) -I../lib ../utils/perlcc -regex 's/$$/.exe/' pod2latex pod2man pod2text checkpods -prog -verbose dcf -log ../compilelog; | |
5aabfad6 | 327 | |
4a71ed0c | 328 |