NEWS fix.
[emacs.git] / doc / misc / Makefile.in
blob67a899af8ce3641dfea6e6dbf94167a524974794
1 ### @configure_input@
3 # Copyright (C) 1994, 1996-2013 Free Software Foundation, Inc.
5 # This file is part of GNU Emacs.
7 # GNU Emacs is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # GNU Emacs is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
20 SHELL = /bin/sh
22 # Where to find the source code. $(srcdir) will be the man-aux
23 # subdirectory of the source tree. This is
24 # set by the configure script's `--srcdir' option.
25 srcdir=@srcdir@
27 version=@version@
29 ## Where the output files go.
30 buildinfodir = $(srcdir)/../../info
31 ## Directory with emacsver.texi.
32 emacsdir = $(srcdir)/../emacs
34 MKDIR_P = @MKDIR_P@
36 INFO_EXT=@INFO_EXT@
37 # Options used only when making info output.
38 INFO_OPTS=@INFO_OPTS@
40 # The makeinfo program is part of the Texinfo distribution.
41 # Use --force so that it generates output even if there are errors.
42 MAKEINFO = @MAKEINFO@
43 MAKEINFO_OPTS = --force -I$(emacsdir)
45 INFO_TARGETS = ada-mode auth autotype bovine calc ccmode cl \
46 dbus dired-x ebrowse ede ediff edt eieio \
47 emacs-mime epa erc ert eshell eudc efaq \
48 flymake forms gnus emacs-gnutls htmlfontify idlwave ido info.info \
49 mairix-el message mh-e newsticker nxml-mode \
50 org pcl-cvs pgg rcirc remember reftex sasl \
51 sc semantic ses sieve smtpmail speedbar srecode tramp \
52 url vip viper widget wisent woman
54 DVI_TARGETS = \
55 ada-mode.dvi \
56 auth.dvi \
57 autotype.dvi \
58 bovine.dvi \
59 calc.dvi \
60 cc-mode.dvi \
61 cl.dvi \
62 dbus.dvi \
63 dired-x.dvi \
64 ebrowse.dvi \
65 ede.dvi \
66 ediff.dvi \
67 edt.dvi \
68 eieio.dvi \
69 emacs-mime.dvi \
70 epa.dvi \
71 erc.dvi \
72 ert.dvi \
73 eshell.dvi \
74 eudc.dvi \
75 faq.dvi \
76 flymake.dvi \
77 forms.dvi \
78 gnus.dvi \
79 emacs-gnutls.dvi \
80 htmlfontify.dvi \
81 idlwave.dvi \
82 ido.dvi \
83 info.dvi \
84 mairix-el.dvi \
85 message.dvi \
86 mh-e.dvi \
87 newsticker.dvi \
88 nxml-mode.dvi \
89 org.dvi \
90 pcl-cvs.dvi \
91 pgg.dvi \
92 rcirc.dvi \
93 reftex.dvi \
94 remember.dvi \
95 sasl.dvi \
96 sc.dvi \
97 semantic.dvi \
98 ses.dvi \
99 sieve.dvi \
100 smtpmail.dvi \
101 speedbar.dvi \
102 srecode.dvi \
103 tramp.dvi \
104 url.dvi \
105 vip.dvi \
106 viper.dvi \
107 widget.dvi \
108 wisent.dvi \
109 woman.dvi
111 PDF_TARGETS = \
112 ada-mode.pdf \
113 auth.pdf \
114 autotype.pdf \
115 bovine.pdf \
116 calc.pdf \
117 cc-mode.pdf \
118 cl.pdf \
119 dbus.pdf \
120 dired-x.pdf \
121 ebrowse.pdf \
122 ede.pdf \
123 ediff.pdf \
124 edt.pdf \
125 eieio.pdf \
126 emacs-mime.pdf \
127 epa.pdf \
128 erc.pdf \
129 ert.pdf \
130 eshell.pdf \
131 eudc.pdf \
132 faq.pdf \
133 flymake.pdf \
134 forms.pdf \
135 gnus.pdf \
136 htmlfontify.pdf \
137 emacs-gnutls.pdf \
138 idlwave.pdf \
139 ido.pdf \
140 info.pdf \
141 mairix-el.pdf \
142 message.pdf \
143 mh-e.pdf \
144 newsticker.pdf \
145 nxml-mode.pdf \
146 org.pdf \
147 pcl-cvs.pdf \
148 pgg.pdf \
149 rcirc.pdf \
150 reftex.pdf \
151 remember.pdf \
152 sasl.pdf \
153 sc.pdf \
154 semantic.pdf \
155 ses.pdf \
156 sieve.pdf \
157 smtpmail.pdf \
158 speedbar.pdf \
159 srecode.pdf \
160 tramp.pdf \
161 url.pdf \
162 vip.pdf \
163 viper.pdf \
164 widget.pdf \
165 wisent.pdf \
166 woman.pdf
168 TEXI2DVI = texi2dvi
169 TEXI2PDF = texi2pdf
171 ENVADD = TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
172 MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
174 mkinfodir = @${MKDIR_P} ${buildinfodir}
176 gfdl = ${srcdir}/doclicense.texi
178 .PHONY: info dvi pdf echo-info
179 ## Prevent implicit rule triggering for foo.info.
180 .SUFFIXES:
182 # Default.
183 info: $(INFO_TARGETS)
185 ## Used by top-level Makefile.
186 ## Base file names of output info files.
187 echo-info:
188 @echo "$(INFO_TARGETS) " | \
189 sed -e 's|[^ ]*/||g' -e 's/\.info//g' -e "s/ */$(INFO_EXT) /g"
191 # please modify this for all the web manual targets
192 webhack: clean
193 $(MAKE) pdf MAKEINFO_OPTS="-DWEBHACKDEVEL $(MAKEINFO_OPTS)"
195 dvi: $(DVI_TARGETS)
197 pdf: $(PDF_TARGETS)
199 # Note that all the Info targets build the Info files in srcdir.
200 # There is no provision for Info files to exist in the build directory.
201 # In a distribution of Emacs, the Info files should be up to date.
203 # Note: "<" is not portable in ordinary make rules.
205 ada-mode : $(buildinfodir)/ada-mode$(INFO_EXT)
206 $(buildinfodir)/ada-mode$(INFO_EXT): ${srcdir}/ada-mode.texi ${gfdl}
207 $(mkinfodir)
208 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ada-mode.texi
209 ada-mode.dvi: ${srcdir}/ada-mode.texi ${gfdl}
210 $(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
211 ada-mode.pdf: ${srcdir}/ada-mode.texi ${gfdl}
212 $(ENVADD) $(TEXI2PDF) ${srcdir}/ada-mode.texi
214 auth : $(buildinfodir)/auth$(INFO_EXT)
215 $(buildinfodir)/auth$(INFO_EXT): ${srcdir}/auth.texi ${gfdl}
216 $(mkinfodir)
217 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/auth.texi
218 auth.dvi: ${srcdir}/auth.texi ${gfdl}
219 $(ENVADD) $(TEXI2DVI) ${srcdir}/auth.texi
220 auth.pdf: ${srcdir}/auth.texi ${gfdl}
221 $(ENVADD) $(TEXI2PDF) ${srcdir}/auth.texi
223 autotype : $(buildinfodir)/autotype$(INFO_EXT)
224 $(buildinfodir)/autotype$(INFO_EXT): ${srcdir}/autotype.texi ${gfdl}
225 $(mkinfodir)
226 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/autotype.texi
227 autotype.dvi: ${srcdir}/autotype.texi ${gfdl}
228 $(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
229 autotype.pdf: ${srcdir}/autotype.texi ${gfdl}
230 $(ENVADD) $(TEXI2PDF) ${srcdir}/autotype.texi
232 bovine : $(buildinfodir)/bovine$(INFO_EXT)
233 $(buildinfodir)/bovine$(INFO_EXT): ${srcdir}/bovine.texi ${gfdl}
234 $(mkinfodir)
235 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/bovine.texi
236 bovine.dvi: ${srcdir}/bovine.texi ${gfdl}
237 $(ENVADD) $(TEXI2DVI) ${srcdir}/bovine.texi
238 bovine.pdf: ${srcdir}/bovine.texi ${gfdl}
239 $(ENVADD) $(TEXI2PDF) ${srcdir}/bovine.texi
241 calc : $(buildinfodir)/calc$(INFO_EXT)
242 $(buildinfodir)/calc$(INFO_EXT): ${srcdir}/calc.texi $(emacsdir)/emacsver.texi ${gfdl}
243 $(mkinfodir)
244 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/calc.texi
245 calc.dvi: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi ${gfdl}
246 $(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
247 calc.pdf: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi ${gfdl}
248 $(ENVADD) $(TEXI2PDF) ${srcdir}/calc.texi
250 ccmode : $(buildinfodir)/ccmode$(INFO_EXT)
251 $(buildinfodir)/ccmode$(INFO_EXT): ${srcdir}/cc-mode.texi ${gfdl}
252 $(mkinfodir)
253 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/cc-mode.texi
254 cc-mode.dvi: ${srcdir}/cc-mode.texi ${gfdl}
255 $(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
256 cc-mode.pdf: ${srcdir}/cc-mode.texi ${gfdl}
257 $(ENVADD) $(TEXI2PDF) ${srcdir}/cc-mode.texi
259 cl : $(buildinfodir)/cl$(INFO_EXT)
260 $(buildinfodir)/cl$(INFO_EXT): ${srcdir}/cl.texi $(emacsdir)/emacsver.texi ${gfdl}
261 $(mkinfodir)
262 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/cl.texi
263 cl.dvi: ${srcdir}/cl.texi $(emacsdir)/emacsver.texi ${gfdl}
264 $(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
265 cl.pdf: ${srcdir}/cl.texi $(emacsdir)/emacsver.texi ${gfdl}
266 $(ENVADD) $(TEXI2PDF) ${srcdir}/cl.texi
268 dbus : $(buildinfodir)/dbus$(INFO_EXT)
269 $(buildinfodir)/dbus$(INFO_EXT): ${srcdir}/dbus.texi ${gfdl}
270 $(mkinfodir)
271 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/dbus.texi
272 dbus.dvi: ${srcdir}/dbus.texi ${gfdl}
273 $(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
274 dbus.pdf: ${srcdir}/dbus.texi ${gfdl}
275 $(ENVADD) $(TEXI2PDF) ${srcdir}/dbus.texi
277 dired-x : $(buildinfodir)/dired-x$(INFO_EXT)
278 $(buildinfodir)/dired-x$(INFO_EXT): ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi ${gfdl}
279 $(mkinfodir)
280 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/dired-x.texi
281 dired-x.dvi: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi ${gfdl}
282 $(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
283 dired-x.pdf: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi ${gfdl}
284 $(ENVADD) $(TEXI2PDF) ${srcdir}/dired-x.texi
286 ebrowse : $(buildinfodir)/ebrowse$(INFO_EXT)
287 $(buildinfodir)/ebrowse$(INFO_EXT): ${srcdir}/ebrowse.texi ${gfdl}
288 $(mkinfodir)
289 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ebrowse.texi
290 ebrowse.dvi: ${srcdir}/ebrowse.texi ${gfdl}
291 $(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
292 ebrowse.pdf: ${srcdir}/ebrowse.texi ${gfdl}
293 $(ENVADD) $(TEXI2PDF) ${srcdir}/ebrowse.texi
295 ede : $(buildinfodir)/ede$(INFO_EXT)
296 $(buildinfodir)/ede$(INFO_EXT): ${srcdir}/ede.texi ${gfdl}
297 $(mkinfodir)
298 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ede.texi
299 ede.dvi: ${srcdir}/ede.texi ${gfdl}
300 $(ENVADD) $(TEXI2DVI) ${srcdir}/ede.texi
301 ede.pdf: ${srcdir}/ede.texi ${gfdl}
302 $(ENVADD) $(TEXI2PDF) ${srcdir}/ede.texi
304 ediff : $(buildinfodir)/ediff$(INFO_EXT)
305 $(buildinfodir)/ediff$(INFO_EXT): ${srcdir}/ediff.texi ${gfdl}
306 $(mkinfodir)
307 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ediff.texi
308 ediff.dvi: ${srcdir}/ediff.texi ${gfdl}
309 $(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
310 ediff.pdf: ${srcdir}/ediff.texi ${gfdl}
311 $(ENVADD) $(TEXI2PDF) ${srcdir}/ediff.texi
313 edt : $(buildinfodir)/edt$(INFO_EXT)
314 $(buildinfodir)/edt$(INFO_EXT): ${srcdir}/edt.texi ${gfdl}
315 $(mkinfodir)
316 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/edt.texi
317 edt.dvi: ${srcdir}/edt.texi ${gfdl}
318 $(ENVADD) $(TEXI2DVI) ${srcdir}/edt.texi
319 edt.pdf: ${srcdir}/edt.texi ${gfdl}
320 $(ENVADD) $(TEXI2PDF) ${srcdir}/edt.texi
322 eieio : $(buildinfodir)/eieio$(INFO_EXT)
323 $(buildinfodir)/eieio$(INFO_EXT): ${srcdir}/eieio.texi ${gfdl}
324 $(mkinfodir)
325 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/eieio.texi
326 eieio.dvi: ${srcdir}/eieio.texi ${gfdl}
327 $(ENVADD) $(TEXI2DVI) ${srcdir}/eieio.texi
328 eieio.pdf: ${srcdir}/eieio.texi ${gfdl}
329 $(ENVADD) $(TEXI2PDF) ${srcdir}/eieio.texi
331 emacs-gnutls : $(buildinfodir)/emacs-gnutls$(INFO_EXT)
332 $(buildinfodir)/emacs-gnutls$(INFO_EXT): ${srcdir}/emacs-gnutls.texi ${gfdl}
333 $(mkinfodir)
334 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/emacs-gnutls.texi
335 emacs-gnutls.dvi: ${srcdir}/emacs-gnutls.texi ${gfdl}
336 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-gnutls.texi
337 emacs-gnutls.pdf: ${srcdir}/emacs-gnutls.texi ${gfdl}
338 $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-gnutls.texi
340 emacs-mime : $(buildinfodir)/emacs-mime$(INFO_EXT)
341 $(buildinfodir)/emacs-mime$(INFO_EXT): ${srcdir}/emacs-mime.texi ${gfdl}
342 $(mkinfodir)
343 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) --enable-encoding -o $@ ${srcdir}/emacs-mime.texi
344 emacs-mime.dvi: ${srcdir}/emacs-mime.texi ${gfdl}
345 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
346 emacs-mime.pdf: ${srcdir}/emacs-mime.texi ${gfdl}
347 $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi
349 epa : $(buildinfodir)/epa$(INFO_EXT)
350 $(buildinfodir)/epa$(INFO_EXT): ${srcdir}/epa.texi ${gfdl}
351 $(mkinfodir)
352 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/epa.texi
353 epa.dvi: ${srcdir}/epa.texi ${gfdl}
354 $(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
355 epa.pdf: ${srcdir}/epa.texi ${gfdl}
356 $(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi
358 erc : $(buildinfodir)/erc$(INFO_EXT)
359 $(buildinfodir)/erc$(INFO_EXT): ${srcdir}/erc.texi $(emacsdir)/emacsver.texi ${gfdl}
360 $(mkinfodir)
361 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/erc.texi
362 erc.dvi: ${srcdir}/erc.texi $(emacsdir)/emacsver.texi ${gfdl}
363 $(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
364 erc.pdf: ${srcdir}/erc.texi $(emacsdir)/emacsver.texi ${gfdl}
365 $(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi
367 ert : $(buildinfodir)/ert$(INFO_EXT)
368 $(buildinfodir)/ert$(INFO_EXT): ${srcdir}/ert.texi ${gfdl}
369 $(mkinfodir)
370 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ert.texi
371 ert.dvi: ${srcdir}/ert.texi ${gfdl}
372 $(ENVADD) $(TEXI2DVI) ${srcdir}/ert.texi
373 ert.pdf: ${srcdir}/ert.texi ${gfdl}
374 $(ENVADD) $(TEXI2PDF) ${srcdir}/ert.texi
376 eshell : $(buildinfodir)/eshell$(INFO_EXT)
377 $(buildinfodir)/eshell$(INFO_EXT): ${srcdir}/eshell.texi ${gfdl}
378 $(mkinfodir)
379 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/eshell.texi
380 eshell.dvi: ${srcdir}/eshell.texi ${gfdl}
381 $(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
382 eshell.pdf: ${srcdir}/eshell.texi ${gfdl}
383 $(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi
385 eudc : $(buildinfodir)/eudc$(INFO_EXT)
386 $(buildinfodir)/eudc$(INFO_EXT): ${srcdir}/eudc.texi ${gfdl}
387 $(mkinfodir)
388 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/eudc.texi
389 eudc.dvi: ${srcdir}/eudc.texi ${gfdl}
390 $(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
391 eudc.pdf: ${srcdir}/eudc.texi ${gfdl}
392 $(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi
394 ## No gfdl dependency.
395 efaq : $(buildinfodir)/efaq$(INFO_EXT)
396 $(buildinfodir)/efaq$(INFO_EXT): ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
397 $(mkinfodir)
398 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/faq.texi
399 faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
400 $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
401 faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
402 $(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
404 flymake : $(buildinfodir)/flymake$(INFO_EXT)
405 $(buildinfodir)/flymake$(INFO_EXT): ${srcdir}/flymake.texi ${gfdl}
406 $(mkinfodir)
407 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/flymake.texi
408 flymake.dvi: ${srcdir}/flymake.texi ${gfdl}
409 $(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
410 flymake.pdf: ${srcdir}/flymake.texi ${gfdl}
411 $(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi
413 forms : $(buildinfodir)/forms$(INFO_EXT)
414 $(buildinfodir)/forms$(INFO_EXT): ${srcdir}/forms.texi ${gfdl}
415 $(mkinfodir)
416 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/forms.texi
417 forms.dvi: ${srcdir}/forms.texi ${gfdl}
418 $(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
419 forms.pdf: ${srcdir}/forms.texi ${gfdl}
420 $(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi
422 # gnus/message/emacs-mime/sieve/pgg are part of Gnus:
423 gnus : $(buildinfodir)/gnus$(INFO_EXT)
424 $(buildinfodir)/gnus$(INFO_EXT): ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi ${gfdl}
425 $(mkinfodir)
426 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/gnus.texi
427 gnus.dvi: ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi ${gfdl}
428 sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
429 $(ENVADD) $(TEXI2DVI) gnustmp.texi
430 cp gnustmp.dvi $@
431 rm gnustmp.*
432 gnus.pdf: ${srcdir}/gnus.texi ${srcdir}/gnus-faq.texi ${gfdl}
433 sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
434 $(ENVADD) $(TEXI2PDF) gnustmp.texi
435 cp gnustmp.pdf $@
436 rm gnustmp.*
438 htmlfontify : $(buildinfodir)/htmlfontify$(INFO_EXT)
439 $(buildinfodir)/htmlfontify$(INFO_EXT): ${srcdir}/htmlfontify.texi ${gfdl}
440 $(mkinfodir)
441 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/htmlfontify.texi
442 htmlfontify.dvi: ${srcdir}/htmlfontify.texi ${gfdl}
443 $(ENVADD) $(TEXI2DVI) ${srcdir}/htmlfontify.texi
444 htmlfontify.pdf: ${srcdir}/htmlfontify.texi ${gfdl}
445 $(ENVADD) $(TEXI2PDF) ${srcdir}/htmlfontify.texi
447 # NB this one needs --no-split even without a .info extension.
448 idlwave : $(buildinfodir)/idlwave$(INFO_EXT)
449 $(buildinfodir)/idlwave$(INFO_EXT): ${srcdir}/idlwave.texi ${gfdl}
450 $(mkinfodir)
451 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/idlwave.texi
452 idlwave.dvi: ${srcdir}/idlwave.texi ${gfdl}
453 $(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
454 idlwave.pdf: ${srcdir}/idlwave.texi ${gfdl}
455 $(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi
457 ido : $(buildinfodir)/ido$(INFO_EXT)
458 $(buildinfodir)/ido$(INFO_EXT): ${srcdir}/ido.texi $(emacsdir)/emacsver.texi ${gfdl}
459 $(mkinfodir)
460 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ido.texi
461 ido.dvi: ${srcdir}/ido.texi $(emacsdir)/emacsver.texi ${gfdl}
462 $(ENVADD) $(TEXI2DVI) ${srcdir}/ido.texi
463 ido.pdf: ${srcdir}/ido.texi $(emacsdir)/emacsver.texi ${gfdl}
464 $(ENVADD) $(TEXI2PDF) ${srcdir}/ido.texi
466 # NB this one needs --no-split even without a .info extension.
467 # Avoid name clash with overall "info" target.
468 info.info : $(buildinfodir)/info$(INFO_EXT)
469 $(buildinfodir)/info$(INFO_EXT): ${srcdir}/info.texi ${gfdl}
470 $(mkinfodir)
471 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/info.texi
472 info.dvi: ${srcdir}/info.texi ${gfdl}
473 $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
474 info.pdf: ${srcdir}/info.texi ${gfdl}
475 $(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi
477 mairix-el : $(buildinfodir)/mairix-el$(INFO_EXT)
478 $(buildinfodir)/mairix-el$(INFO_EXT): ${srcdir}/mairix-el.texi ${gfdl}
479 $(mkinfodir)
480 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/mairix-el.texi
481 mairix-el.dvi: ${srcdir}/mairix-el.texi ${gfdl}
482 $(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
483 mairix-el.pdf: ${srcdir}/mairix-el.texi ${gfdl}
484 $(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi
486 message : $(buildinfodir)/message$(INFO_EXT)
487 $(buildinfodir)/message$(INFO_EXT): ${srcdir}/message.texi ${gfdl}
488 $(mkinfodir)
489 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/message.texi
490 message.dvi: ${srcdir}/message.texi ${gfdl}
491 $(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
492 message.pdf: ${srcdir}/message.texi ${gfdl}
493 $(ENVADD) $(TEXI2PDF) ${srcdir}/message.texi
495 mh-e : $(buildinfodir)/mh-e$(INFO_EXT)
496 $(buildinfodir)/mh-e$(INFO_EXT): ${srcdir}/mh-e.texi ${gfdl}
497 $(mkinfodir)
498 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/mh-e.texi
499 mh-e.dvi: ${srcdir}/mh-e.texi ${gfdl}
500 $(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
501 mh-e.pdf: ${srcdir}/mh-e.texi ${gfdl}
502 $(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi
504 newsticker : $(buildinfodir)/newsticker$(INFO_EXT)
505 $(buildinfodir)/newsticker$(INFO_EXT): ${srcdir}/newsticker.texi ${gfdl}
506 $(mkinfodir)
507 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/newsticker.texi
508 newsticker.dvi: ${srcdir}/newsticker.texi ${gfdl}
509 $(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
510 newsticker.pdf: ${srcdir}/newsticker.texi ${gfdl}
511 $(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi
513 nxml-mode : $(buildinfodir)/nxml-mode$(INFO_EXT)
514 $(buildinfodir)/nxml-mode$(INFO_EXT): ${srcdir}/nxml-mode.texi ${gfdl}
515 $(mkinfodir)
516 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/nxml-mode.texi
517 nxml-mode.dvi: ${srcdir}/nxml-mode.texi ${gfdl}
518 $(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
519 nxml-mode.pdf: ${srcdir}/nxml-mode.texi ${gfdl}
520 $(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi
522 org : $(buildinfodir)/org$(INFO_EXT)
523 $(buildinfodir)/org$(INFO_EXT): ${srcdir}/org.texi ${gfdl}
524 $(mkinfodir)
525 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/org.texi
526 org.dvi: ${srcdir}/org.texi ${gfdl}
527 $(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
528 org.pdf: ${srcdir}/org.texi ${gfdl}
529 $(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi
531 pcl-cvs : $(buildinfodir)/pcl-cvs$(INFO_EXT)
532 $(buildinfodir)/pcl-cvs$(INFO_EXT): ${srcdir}/pcl-cvs.texi ${gfdl}
533 $(mkinfodir)
534 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/pcl-cvs.texi
535 pcl-cvs.dvi: ${srcdir}/pcl-cvs.texi ${gfdl}
536 $(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
537 pcl-cvs.pdf: ${srcdir}/pcl-cvs.texi ${gfdl}
538 $(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi
540 pgg : $(buildinfodir)/pgg$(INFO_EXT)
541 $(buildinfodir)/pgg$(INFO_EXT): ${srcdir}/pgg.texi ${gfdl}
542 $(mkinfodir)
543 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/pgg.texi
544 pgg.dvi: ${srcdir}/pgg.texi ${gfdl}
545 $(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
546 pgg.pdf: ${srcdir}/pgg.texi ${gfdl}
547 $(ENVADD) $(TEXI2PDF) ${srcdir}/pgg.texi
549 rcirc : $(buildinfodir)/rcirc$(INFO_EXT)
550 $(buildinfodir)/rcirc$(INFO_EXT): ${srcdir}/rcirc.texi ${gfdl}
551 $(mkinfodir)
552 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/rcirc.texi
553 rcirc.dvi: ${srcdir}/rcirc.texi ${gfdl}
554 $(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi
555 rcirc.pdf: ${srcdir}/rcirc.texi ${gfdl}
556 $(ENVADD) $(TEXI2PDF) ${srcdir}/rcirc.texi
558 reftex : $(buildinfodir)/reftex$(INFO_EXT)
559 $(buildinfodir)/reftex$(INFO_EXT): ${srcdir}/reftex.texi $(emacsdir)/emacsver.texi ${gfdl}
560 $(mkinfodir)
561 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/reftex.texi
562 reftex.dvi: ${srcdir}/reftex.texi $(emacsdir)/emacsver.texi ${gfdl}
563 $(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
564 reftex.pdf: ${srcdir}/reftex.texi $(emacsdir)/emacsver.texi ${gfdl}
565 $(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi
567 remember : $(buildinfodir)/remember$(INFO_EXT)
568 $(buildinfodir)/remember$(INFO_EXT): ${srcdir}/remember.texi ${gfdl}
569 $(mkinfodir)
570 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/remember.texi
571 remember.dvi: ${srcdir}/remember.texi ${gfdl}
572 $(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
573 remember.pdf: ${srcdir}/remember.texi ${gfdl}
574 $(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi
576 sasl : $(buildinfodir)/sasl$(INFO_EXT)
577 $(buildinfodir)/sasl$(INFO_EXT): ${srcdir}/sasl.texi ${gfdl}
578 $(mkinfodir)
579 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/sasl.texi
580 sasl.dvi: ${srcdir}/sasl.texi ${gfdl}
581 $(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
582 sasl.pdf: ${srcdir}/sasl.texi ${gfdl}
583 $(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi
585 sc : $(buildinfodir)/sc$(INFO_EXT)
586 $(buildinfodir)/sc$(INFO_EXT): ${srcdir}/sc.texi ${gfdl}
587 $(mkinfodir)
588 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/sc.texi
589 sc.dvi: ${srcdir}/sc.texi ${gfdl}
590 $(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
591 sc.pdf: ${srcdir}/sc.texi ${gfdl}
592 $(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi
594 semantic : $(buildinfodir)/semantic$(INFO_EXT)
595 $(buildinfodir)/semantic$(INFO_EXT): ${srcdir}/semantic.texi ${srcdir}/sem-user.texi ${gfdl}
596 $(mkinfodir)
597 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/semantic.texi
598 semantic.dvi: ${srcdir}/semantic.texi ${srcdir}/sem-user.texi ${gfdl}
599 $(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi
600 semantic.pdf: ${srcdir}/semantic.texi ${srcdir}/sem-user.texi ${gfdl}
601 $(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi
603 ses : $(buildinfodir)/ses$(INFO_EXT)
604 $(buildinfodir)/ses$(INFO_EXT): ${srcdir}/ses.texi ${gfdl}
605 $(mkinfodir)
606 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/ses.texi
607 ses.dvi: ${srcdir}/ses.texi ${gfdl}
608 $(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
609 ses.pdf: ${srcdir}/ses.texi ${gfdl}
610 $(ENVADD) $(TEXI2PDF) ${srcdir}/ses.texi
612 sieve : $(buildinfodir)/sieve$(INFO_EXT)
613 $(buildinfodir)/sieve$(INFO_EXT): ${srcdir}/sieve.texi ${gfdl}
614 $(mkinfodir)
615 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/sieve.texi
616 sieve.dvi: ${srcdir}/sieve.texi ${gfdl}
617 $(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi
618 sieve.pdf: ${srcdir}/sieve.texi ${gfdl}
619 $(ENVADD) $(TEXI2PDF) ${srcdir}/sieve.texi
621 smtpmail : $(buildinfodir)/smtpmail$(INFO_EXT)
622 $(buildinfodir)/smtpmail$(INFO_EXT): ${srcdir}/smtpmail.texi ${gfdl}
623 $(mkinfodir)
624 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/smtpmail.texi
625 smtpmail.dvi: ${srcdir}/smtpmail.texi ${gfdl}
626 $(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi
627 smtpmail.pdf: ${srcdir}/smtpmail.texi ${gfdl}
628 $(ENVADD) $(TEXI2PDF) ${srcdir}/smtpmail.texi
630 speedbar : $(buildinfodir)/speedbar$(INFO_EXT)
631 $(buildinfodir)/speedbar$(INFO_EXT): ${srcdir}/speedbar.texi ${gfdl}
632 $(mkinfodir)
633 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/speedbar.texi
634 speedbar.dvi: ${srcdir}/speedbar.texi ${gfdl}
635 $(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
636 speedbar.pdf: ${srcdir}/speedbar.texi ${gfdl}
637 $(ENVADD) $(TEXI2PDF) ${srcdir}/speedbar.texi
639 srecode : $(buildinfodir)/srecode$(INFO_EXT)
640 $(buildinfodir)/srecode$(INFO_EXT): ${srcdir}/srecode.texi ${gfdl}
641 $(mkinfodir)
642 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/srecode.texi
643 srecode.dvi: ${srcdir}/srecode.texi ${gfdl}
644 $(ENVADD) $(TEXI2DVI) ${srcdir}/srecode.texi
645 srecode.pdf: ${srcdir}/srecode.texi ${gfdl}
646 $(ENVADD) $(TEXI2PDF) ${srcdir}/srecode.texi
648 tramp : $(buildinfodir)/tramp$(INFO_EXT)
649 $(buildinfodir)/tramp$(INFO_EXT): ${srcdir}/tramp.texi ${srcdir}/trampver.texi ${gfdl}
650 $(mkinfodir)
651 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ -D emacs ${srcdir}/tramp.texi
652 tramp.dvi: ${srcdir}/tramp.texi ${srcdir}/trampver.texi ${gfdl}
653 $(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
654 tramp.pdf: ${srcdir}/tramp.texi ${srcdir}/trampver.texi ${gfdl}
655 $(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi
657 url : $(buildinfodir)/url$(INFO_EXT)
658 $(buildinfodir)/url$(INFO_EXT): ${srcdir}/url.texi ${gfdl}
659 $(mkinfodir)
660 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/url.texi
661 url.dvi: ${srcdir}/url.texi ${gfdl}
662 $(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
663 url.pdf: ${srcdir}/url.texi ${gfdl}
664 $(ENVADD) $(TEXI2PDF) ${srcdir}/url.texi
666 vip : $(buildinfodir)/vip$(INFO_EXT)
667 $(buildinfodir)/vip$(INFO_EXT): ${srcdir}/vip.texi ${gfdl}
668 $(mkinfodir)
669 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/vip.texi
670 vip.dvi: ${srcdir}/vip.texi ${gfdl}
671 $(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
672 vip.pdf: ${srcdir}/vip.texi ${gfdl}
673 $(ENVADD) $(TEXI2PDF) ${srcdir}/vip.texi
675 viper : $(buildinfodir)/viper$(INFO_EXT)
676 $(buildinfodir)/viper$(INFO_EXT): ${srcdir}/viper.texi ${gfdl}
677 $(mkinfodir)
678 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/viper.texi
679 viper.dvi: ${srcdir}/viper.texi ${gfdl}
680 $(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
681 viper.pdf: ${srcdir}/viper.texi ${gfdl}
682 $(ENVADD) $(TEXI2PDF) ${srcdir}/viper.texi
684 widget : $(buildinfodir)/widget$(INFO_EXT)
685 $(buildinfodir)/widget$(INFO_EXT): ${srcdir}/widget.texi ${gfdl}
686 $(mkinfodir)
687 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/widget.texi
688 widget.dvi: ${srcdir}/widget.texi ${gfdl}
689 $(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi
690 widget.pdf: ${srcdir}/widget.texi ${gfdl}
691 $(ENVADD) $(TEXI2PDF) ${srcdir}/widget.texi
693 wisent : $(buildinfodir)/wisent$(INFO_EXT)
694 $(buildinfodir)/wisent$(INFO_EXT): ${srcdir}/wisent.texi ${gfdl}
695 $(mkinfodir)
696 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/wisent.texi
697 wisent.dvi: ${srcdir}/wisent.texi ${gfdl}
698 $(ENVADD) $(TEXI2DVI) ${srcdir}/wisent.texi
699 wisent.pdf: ${srcdir}/wisent.texi ${gfdl}
700 $(ENVADD) $(TEXI2PDF) ${srcdir}/wisent.texi
702 woman : $(buildinfodir)/woman$(INFO_EXT)
703 $(buildinfodir)/woman$(INFO_EXT): ${srcdir}/woman.texi $(emacsdir)/emacsver.texi ${gfdl}
704 $(mkinfodir)
705 $(MAKEINFO) $(MAKEINFO_OPTS) $(INFO_OPTS) -o $@ ${srcdir}/woman.texi
706 woman.dvi: ${srcdir}/woman.texi $(emacsdir)/emacsver.texi ${gfdl}
707 $(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi
708 woman.pdf: ${srcdir}/woman.texi $(emacsdir)/emacsver.texi ${gfdl}
709 $(ENVADD) $(TEXI2PDF) ${srcdir}/woman.texi
712 .PHONY: mostlyclean clean distclean maintainer-clean
714 mostlyclean:
715 rm -f *.aux *.log *.toc *.c[mp] *.c[mp]s *.fn *.fns \
716 *.ky *.kys *.op *.ops *.p[gj] *.p[gj]s *.sc *.scs *.ss \
717 *.t[gp] *.t[gp]s *.vr *.vrs
718 rm -f gnustmp.*
720 clean: mostlyclean
721 rm -f $(DVI_TARGETS) $(PDF_TARGETS)
722 rm -f emacs-misc-${version}.tar*
724 distclean: clean
725 # rm -f Makefile
727 ## buildinfodir is relative to srcdir.
728 infoclean:
729 cd $(buildinfodir); for file in $(INFO_TARGETS); do \
730 file=`echo $${file} | sed 's/\.info$$//'`${INFO_EXT}; \
731 rm -f $${file} $${file}-[1-9] $${file}-[1-9][0-9]; \
732 done
734 maintainer-clean: distclean infoclean
736 dist:
737 rm -rf emacs-misc-${version}
738 mkdir emacs-misc-${version}
739 cp ${srcdir}/*.texi ${srcdir}/texinfo.tex \
740 $(emacsdir)/emacsver.texi ${srcdir}/ChangeLog* \
741 emacs-misc-${version}/
742 sed -e 's/@sr[c]dir@/./' \
743 -e 's/^\(emacsdir *=\).*/\1 ./' \
744 -e 's/^\(buildinfodir *=\).*/\1 ./' \
745 -e 's/^\(clean:.*\)/\1 infoclean/' \
746 -e "s/@ver[s]ion@/${version}/" \
747 -e 's/@MAKE[I]NFO@/makeinfo/' -e 's/@MK[D]IR_P@/mkdir -p/' \
748 -e 's/@IN[F]O_EXT@/.info/' -e 's/@IN[F]O_OPTS@//' \
749 ${srcdir}/Makefile.in > emacs-misc-${version}/Makefile
750 @if grep '@[a-zA-Z_]*@' emacs-misc-${version}/Makefile; then \
751 echo "Unexpanded configure variables in Makefile?" 1>&2; exit 1; \
753 tar -cf emacs-misc-${version}.tar emacs-misc-${version}
754 rm -rf emacs-misc-${version}
756 ### Makefile ends here