(pmail-edit-mode): Bind buffer-swwapped-with to nil.
[emacs.git] / doc / misc / Makefile.in
blob4e0ae5a0dcb7001676c8cba6f989c9184441c384
1 #### Makefile for documentation other than the Emacs manual.
3 # Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
4 # 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6 # This file is part of GNU Emacs.
8 # GNU Emacs is free software: you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
13 # GNU Emacs is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
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@
26 top_srcdir=@top_srcdir@
28 # Tell make where to find source files; this is needed for the makefiles.
29 VPATH=@srcdir@
31 ## Where the output files go.
32 ## Note that the setfilename command in the .texi files assumes this.
33 infodir=../../info
35 # The makeinfo program is part of the Texinfo distribution.
36 # Use --force so that it generates output even if there are errors.
37 MAKEINFO = makeinfo --force
39 INFO_TARGETS = \
40 $(infodir)/ada-mode \
41 $(infodir)/autotype \
42 $(infodir)/calc \
43 $(infodir)/ccmode \
44 $(infodir)/cl \
45 $(infodir)/dbus \
46 $(infodir)/dired-x \
47 $(infodir)/ebrowse \
48 $(infodir)/ediff \
49 $(infodir)/emacs-mime \
50 $(infodir)/epa \
51 $(infodir)/erc \
52 $(infodir)/eshell \
53 $(infodir)/eudc \
54 $(infodir)/efaq \
55 $(infodir)/flymake \
56 $(infodir)/forms \
57 $(infodir)/gnus \
58 $(infodir)/idlwave \
59 $(infodir)/info \
60 $(infodir)/mairix-el \
61 $(infodir)/message \
62 $(infodir)/mh-e \
63 $(infodir)/newsticker \
64 $(infodir)/nxml-mode \
65 $(infodir)/org \
66 $(infodir)/pcl-cvs \
67 $(infodir)/pgg \
68 $(infodir)/rcirc \
69 $(infodir)/remember \
70 $(infodir)/reftex \
71 $(infodir)/sasl \
72 $(infodir)/sc \
73 $(infodir)/ses \
74 $(infodir)/sieve \
75 $(infodir)/smtpmail \
76 $(infodir)/speedbar \
77 $(infodir)/tramp \
78 $(infodir)/url \
79 $(infodir)/vip \
80 $(infodir)/viper \
81 $(infodir)/widget \
82 $(infodir)/woman
84 DVI_TARGETS = \
85 ada-mode.dvi \
86 autotype.dvi \
87 calc.dvi \
88 cc-mode.dvi \
89 cl.dvi \
90 dbus.dvi \
91 dired-x.dvi \
92 ebrowse.dvi \
93 ediff.dvi \
94 emacs-mime.dvi \
95 epa.dvi \
96 erc.dvi \
97 eshell.dvi \
98 eudc.dvi \
99 faq.dvi \
100 flymake.dvi \
101 forms.dvi \
102 gnus.dvi \
103 idlwave.dvi \
104 info.dvi \
105 mairix-el.dvi \
106 message.dvi \
107 mh-e.dvi \
108 newsticker.dvi \
109 nxml-mode.dvi \
110 org.dvi \
111 pcl-cvs.dvi \
112 pgg.dvi \
113 rcirc.dvi \
114 reftex.dvi \
115 remember.dvi \
116 sasl.dvi \
117 sc.dvi \
118 ses.dvi \
119 sieve.dvi \
120 smtpmail.dvi \
121 speedbar.dvi \
122 tramp.dvi \
123 url.dvi \
124 vip.dvi \
125 viper.dvi \
126 widget.dvi \
127 woman.dvi
130 TEXI2DVI = texi2dvi
132 # The following rule does not work with all versions of `make'.
133 .SUFFIXES: .texi .dvi
134 .texi.dvi:
135 $(TEXI2DVI) $<
137 ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)"
140 info: $(infodir) $(INFO_TARGETS)
142 $(infodir):
143 mkdir $@
145 dvi: $(DVI_TARGETS)
148 # Note that all the Info targets build the Info files
149 # in srcdir. There is no provision for Info files
150 # to exist in the build directory.
151 # In a distribution of Emacs, the Info files should be up to date.
153 ## "short" target names for convenience, to just rebuild one manual.
154 ada-mode : $(infodir)/ada-mode
155 $(infodir)/ada-mode: ada-mode.texi
156 cd $(srcdir); $(MAKEINFO) ada-mode.texi
157 ada-mode.dvi: ada-mode.texi
158 $(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
160 autotype : $(infodir)/autotype
161 $(infodir)/autotype: autotype.texi
162 cd $(srcdir); $(MAKEINFO) autotype.texi
163 autotype.dvi: autotype.texi
164 $(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
166 calc : $(infodir)/calc
167 $(infodir)/calc: calc.texi
168 cd $(srcdir); $(MAKEINFO) calc.texi
169 calc.dvi: calc.texi
170 $(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
172 ccmode : $(infodir)/ccmode
173 $(infodir)/ccmode: cc-mode.texi
174 cd $(srcdir); $(MAKEINFO) cc-mode.texi
175 cc-mode.dvi: cc-mode.texi
176 $(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
178 cl : $(infodir)/cl
179 $(infodir)/cl: cl.texi
180 cd $(srcdir); $(MAKEINFO) cl.texi
181 cl.dvi: cl.texi
182 $(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
184 dbus : $(infodir)/dbus
185 $(infodir)/dbus: dbus.texi
186 cd $(srcdir); $(MAKEINFO) dbus.texi
187 dbus.dvi: dbus.texi
188 $(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
190 dired-x : $(infodir)/dired-x
191 $(infodir)/dired-x: dired-x.texi
192 cd $(srcdir); $(MAKEINFO) dired-x.texi
193 dired-x.dvi: dired-x.texi
194 $(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
196 ebrowse : $(infodir)/ebrowse
197 $(infodir)/ebrowse: ebrowse.texi
198 cd $(srcdir); $(MAKEINFO) ebrowse.texi
199 ebrowse.dvi: ebrowse.texi
200 $(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
202 ediff : $(infodir)/ediff
203 $(infodir)/ediff: ediff.texi
204 cd $(srcdir); $(MAKEINFO) ediff.texi
205 ediff.dvi: ediff.texi
206 $(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
208 emacs-mime : $(infodir)/emacs-mime
209 $(infodir)/emacs-mime: emacs-mime.texi
210 cd $(srcdir); $(MAKEINFO) --enable-encoding emacs-mime.texi
211 emacs-mime.dvi: emacs-mime.texi
212 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
214 epa : $(infodir)/epa
215 $(infodir)/epa: epa.texi
216 cd $(srcdir); $(MAKEINFO) epa.texi
217 epa.dvi: epa.texi
218 $(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
220 erc : $(infodir)/erc
221 $(infodir)/erc: erc.texi
222 cd $(srcdir); $(MAKEINFO) erc.texi
223 erc.dvi: erc.texi
224 $(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
226 eshell : $(infodir)/eshell
227 $(infodir)/eshell: eshell.texi
228 cd $(srcdir); $(MAKEINFO) eshell.texi
229 eshell.dvi: eshell.texi
230 $(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
232 eudc : $(infodir)/eudc
233 $(infodir)/eudc: eudc.texi
234 cd $(srcdir); $(MAKEINFO) eudc.texi
235 eudc.dvi: eudc.texi
236 $(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
238 efaq : $(infodir)/efaq
239 $(infodir)/efaq: faq.texi
240 cd $(srcdir); $(MAKEINFO) faq.texi
241 faq.dvi: faq.texi
242 $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
244 flymake : $(infodir)/flymake
245 $(infodir)/flymake: flymake.texi
246 cd $(srcdir); $(MAKEINFO) flymake.texi
247 flymake.dvi: flymake.texi
248 $(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
250 forms : $(infodir)/forms
251 $(infodir)/forms: forms.texi
252 cd $(srcdir); $(MAKEINFO) forms.texi
253 forms.dvi: forms.texi
254 $(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
256 # gnus/message/emacs-mime/sieve/pgg are part of Gnus:
257 gnus : $(infodir)/gnus
258 $(infodir)/gnus: gnus.texi gnus-faq.texi
259 cd $(srcdir); $(MAKEINFO) gnus.texi
260 gnus.dvi: gnus.texi gnus-faq.texi
261 sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
262 $(ENVADD) $(TEXI2DVI) gnustmp.texi
263 cp gnustmp.dvi $*.dvi
264 rm gnustmp.*
266 # This is produced with --no-split to avoid making files whose
267 # names clash on DOS 8+3 filesystems
268 idlwave : $(infodir)/idlwave
269 $(infodir)/idlwave: idlwave.texi
270 cd $(srcdir); $(MAKEINFO) --no-split idlwave.texi
271 idlwave.dvi: idlwave.texi
272 $(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
274 # The following target uses an explicit -o switch to work around
275 # the @setfilename directive in info.texi, which is required for
276 # the Texinfo distribution.
277 ###info : $(infodir)/info # circular!
278 $(infodir)/info: info.texi
279 cd $(srcdir); $(MAKEINFO) --no-split info.texi -o $@
280 info.dvi: info.texi
281 $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
283 mairix-el : $(infodir)/mairix-el
284 $(infodir)/mairix-el: mairix-el.texi
285 cd $(srcdir); $(MAKEINFO) mairix-el.texi
286 mairix-el.dvi: mairix-el.texi
287 $(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
289 message : $(infodir)/message
290 $(infodir)/message: message.texi
291 cd $(srcdir); $(MAKEINFO) message.texi
292 message.dvi: message.texi
293 $(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
295 mh-e : $(infodir)/mh-e
296 $(infodir)/mh-e: mh-e.texi
297 cd $(srcdir); $(MAKEINFO) mh-e.texi
298 mh-e.dvi: mh-e.texi
299 $(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
301 newsticker : $(infodir)/newsticker
302 $(infodir)/newsticker: newsticker.texi
303 cd $(srcdir); $(MAKEINFO) newsticker.texi
304 newsticker.dvi: newsticker.texi
305 $(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
307 nxml-mode : $(infodir)/nxml-mode
308 $(infodir)/nxml-mode: nxml-mode.texi
309 cd $(srcdir); $(MAKEINFO) nxml-mode.texi
310 nxml-mode.dvi: nxml-mode.texi
311 $(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
313 org : $(infodir)/org
314 $(infodir)/org: org.texi
315 cd $(srcdir); $(MAKEINFO) org.texi
316 org.dvi: org.texi
317 $(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
319 pcl-cvs : $(infodir)/pcl-cvs
320 $(infodir)/pcl-cvs: pcl-cvs.texi
321 cd $(srcdir); $(MAKEINFO) pcl-cvs.texi
322 pcl-cvs.dvi: pcl-cvs.texi
323 $(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
325 pgg : $(infodir)/pgg
326 $(infodir)/pgg: pgg.texi
327 cd $(srcdir); $(MAKEINFO) pgg.texi
328 pgg.dvi: pgg.texi
329 $(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
331 rcirc : $(infodir)/rcirc
332 $(infodir)/rcirc: rcirc.texi
333 cd $(srcdir); $(MAKEINFO) rcirc.texi
334 rcirc.dvi: rcirc.texi
335 $(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi
337 reftex : $(infodir)/reftex
338 $(infodir)/reftex: reftex.texi
339 cd $(srcdir); $(MAKEINFO) reftex.texi
340 reftex.dvi: reftex.texi
341 $(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
343 remember : $(infodir)/remember
344 $(infodir)/remember: remember.texi
345 cd $(srcdir); $(MAKEINFO) remember.texi
346 remember.dvi: remember.texi
347 $(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
349 sasl : $(infodir)/sasl
350 $(infodir)/sasl: sasl.texi
351 cd $(srcdir); $(MAKEINFO) sasl.texi
352 sasl.dvi: sasl.texi
353 $(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
355 sc : $(infodir)/sc
356 $(infodir)/sc: sc.texi
357 cd $(srcdir); $(MAKEINFO) sc.texi
358 sc.dvi: sc.texi
359 $(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
361 ses : $(infodir)/ses
362 $(infodir)/ses: ses.texi
363 cd $(srcdir); $(MAKEINFO) ses.texi
364 ses.dvi: ses.texi
365 $(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
367 sieve : $(infodir)/sieve
368 $(infodir)/sieve: sieve.texi
369 cd $(srcdir); $(MAKEINFO) sieve.texi
370 sieve.dvi: sieve.texi
371 $(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi
373 smtpmail : $(infodir)/smtpmail
374 $(infodir)/smtpmail: smtpmail.texi
375 cd $(srcdir); $(MAKEINFO) smtpmail.texi
376 smtpmail.dvi: smtpmail.texi
377 $(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi
379 speedbar : $(infodir)/speedbar
380 $(infodir)/speedbar: speedbar.texi
381 cd $(srcdir); $(MAKEINFO) speedbar.texi
382 speedbar.dvi: speedbar.texi
383 $(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
385 tramp : $(infodir)/tramp
386 $(infodir)/tramp: tramp.texi trampver.texi
387 cd $(srcdir); $(MAKEINFO) -D emacs tramp.texi
388 tramp.dvi: tramp.texi trampver.texi
389 $(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
391 url : $(infodir)/url
392 $(infodir)/url: url.texi
393 cd $(srcdir); $(MAKEINFO) url.texi
394 url.dvi: url.texi
395 $(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
397 vip : $(infodir)/vip
398 $(infodir)/vip: vip.texi
399 cd $(srcdir); $(MAKEINFO) vip.texi
400 vip.dvi: vip.texi
401 $(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
403 viper : $(infodir)/viper
404 $(infodir)/viper: viper.texi
405 cd $(srcdir); $(MAKEINFO) viper.texi
406 viper.dvi: viper.texi
407 $(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
409 widget : $(infodir)/widget
410 $(infodir)/widget: widget.texi
411 cd $(srcdir); $(MAKEINFO) widget.texi
412 widget.dvi: widget.texi
413 $(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi
415 woman : $(infodir)/woman
416 $(infodir)/woman: woman.texi
417 cd $(srcdir); $(MAKEINFO) woman.texi
418 woman.dvi: woman.texi
419 $(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi
422 mostlyclean:
423 rm -f *.log *.cp *.fn *.ky *.op *.ops *.pg *.vr core *.tp \
424 *.tps *.core gnustmp.*
425 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
427 clean: mostlyclean
428 rm -f *.dvi
430 distclean: clean
431 # rm -f Makefile
433 maintainer-clean: distclean
434 for file in $(INFO_TARGETS); do rm -f $${file}*; done
437 ### Makefile ends here