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