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