(Commentary): Point to calendar.el.
[emacs.git] / doc / misc / Makefile.in
blob4460b6f596c2874a31be079d49ed5528df9a9cd7
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, or (at your option)
11 # 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; see the file COPYING. If not, write to
20 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 # Boston, MA 02110-1301, USA.
24 # Where to find the source code. $(srcdir) will be the man-aux
25 # subdirectory of the source tree. This is
26 # set by the configure script's `--srcdir' option.
27 srcdir=@srcdir@
28 top_srcdir=@top_srcdir@
30 # Tell make where to find source files; this is needed for the makefiles.
31 VPATH=@srcdir@
33 ## Where the output files go.
34 ## Note that the setfilename command in the .texi files assumes this.
35 infodir=../../info
37 # The makeinfo program is part of the Texinfo distribution.
38 # Use --force so that it generates output even if there are errors.
39 MAKEINFO = makeinfo --force
41 INFO_TARGETS = \
42 $(infodir)/ada-mode \
43 $(infodir)/autotype \
44 $(infodir)/calc \
45 $(infodir)/ccmode \
46 $(infodir)/cl \
47 $(infodir)/dbus \
48 $(infodir)/dired-x \
49 $(infodir)/ebrowse \
50 $(infodir)/ediff \
51 $(infodir)/emacs-mime \
52 $(infodir)/epa \
53 $(infodir)/erc \
54 $(infodir)/eshell \
55 $(infodir)/eudc \
56 $(infodir)/efaq \
57 $(infodir)/flymake \
58 $(infodir)/forms \
59 $(infodir)/gnus \
60 $(infodir)/idlwave \
61 $(infodir)/info \
62 $(infodir)/message \
63 $(infodir)/mh-e \
64 $(infodir)/newsticker \
65 $(infodir)/nxml-mode \
66 $(infodir)/org \
67 $(infodir)/pcl-cvs \
68 $(infodir)/pgg \
69 $(infodir)/rcirc \
70 $(infodir)/remember \
71 $(infodir)/reftex \
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 message.dvi \
106 mh-e.dvi \
107 newsticker.dvi \
108 nxml-mode.dvi \
109 org.dvi \
110 pcl-cvs.dvi \
111 pgg.dvi \
112 rcirc.dvi \
113 reftex.dvi \
114 remember.dvi \
115 sc.dvi \
116 ses.dvi \
117 sieve.dvi \
118 smtpmail.dvi \
119 speedbar.dvi \
120 tramp.dvi \
121 url.dvi \
122 vip.dvi \
123 viper.dvi \
124 widget.dvi \
125 woman.dvi
128 TEXI2DVI = texi2dvi
130 # The following rule does not work with all versions of `make'.
131 .SUFFIXES: .texi .dvi
132 .texi.dvi:
133 $(TEXI2DVI) $<
135 ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)"
138 info: $(infodir) $(INFO_TARGETS)
140 $(infodir):
141 mkdir $@
143 dvi: $(DVI_TARGETS)
146 # Note that all the Info targets build the Info files
147 # in srcdir. There is no provision for Info files
148 # to exist in the build directory.
149 # In a distribution of Emacs, the Info files should be up to date.
151 ## "short" target names for convenience, to just rebuild one manual.
152 ada-mode : $(infodir)/ada-mode
153 $(infodir)/ada-mode: ada-mode.texi
154 cd $(srcdir); $(MAKEINFO) ada-mode.texi
155 ada-mode.dvi: ada-mode.texi
156 $(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
158 autotype : $(infodir)/autotype
159 $(infodir)/autotype: autotype.texi
160 cd $(srcdir); $(MAKEINFO) autotype.texi
161 autotype.dvi: autotype.texi
162 $(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
164 calc : $(infodir)/calc
165 $(infodir)/calc: calc.texi
166 cd $(srcdir); $(MAKEINFO) calc.texi
167 calc.dvi: calc.texi
168 $(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
170 ccmode : $(infodir)/ccmode
171 $(infodir)/ccmode: cc-mode.texi
172 cd $(srcdir); $(MAKEINFO) cc-mode.texi
173 cc-mode.dvi: cc-mode.texi
174 $(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
176 cl : $(infodir)/cl
177 $(infodir)/cl: cl.texi
178 cd $(srcdir); $(MAKEINFO) cl.texi
179 cl.dvi: cl.texi
180 $(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
182 dbus : $(infodir)/dbus
183 $(infodir)/dbus: dbus.texi
184 cd $(srcdir); $(MAKEINFO) dbus.texi
185 dbus.dvi: dbus.texi
186 $(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
188 dired-x : $(infodir)/dired-x
189 $(infodir)/dired-x: dired-x.texi
190 cd $(srcdir); $(MAKEINFO) dired-x.texi
191 dired-x.dvi: dired-x.texi
192 $(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
194 ebrowse : $(infodir)/ebrowse
195 $(infodir)/ebrowse: ebrowse.texi
196 cd $(srcdir); $(MAKEINFO) ebrowse.texi
197 ebrowse.dvi: ebrowse.texi
198 $(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
200 ediff : $(infodir)/ediff
201 $(infodir)/ediff: ediff.texi
202 cd $(srcdir); $(MAKEINFO) ediff.texi
203 ediff.dvi: ediff.texi
204 $(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
206 emacs-mime : $(infodir)/emacs-mime
207 $(infodir)/emacs-mime: emacs-mime.texi
208 cd $(srcdir); $(MAKEINFO) --enable-encoding emacs-mime.texi
209 emacs-mime.dvi: emacs-mime.texi
210 $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
212 epa : $(infodir)/epa
213 $(infodir)/epa: epa.texi
214 cd $(srcdir); $(MAKEINFO) epa.texi
215 epa.dvi: epa.texi
216 $(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
218 erc : $(infodir)/erc
219 $(infodir)/erc: erc.texi
220 cd $(srcdir); $(MAKEINFO) erc.texi
221 erc.dvi: erc.texi
222 $(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
224 eshell : $(infodir)/eshell
225 $(infodir)/eshell: eshell.texi
226 cd $(srcdir); $(MAKEINFO) eshell.texi
227 eshell.dvi: eshell.texi
228 $(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
230 eudc : $(infodir)/eudc
231 $(infodir)/eudc: eudc.texi
232 cd $(srcdir); $(MAKEINFO) eudc.texi
233 eudc.dvi: eudc.texi
234 $(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
236 efaq : $(infodir)/efaq
237 $(infodir)/efaq: faq.texi
238 cd $(srcdir); $(MAKEINFO) faq.texi
239 faq.dvi: faq.texi
240 $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
242 flymake : $(infodir)/flymake
243 $(infodir)/flymake: flymake.texi
244 cd $(srcdir); $(MAKEINFO) flymake.texi
245 flymake.dvi: flymake.texi
246 $(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
248 forms : $(infodir)/forms
249 $(infodir)/forms: forms.texi
250 cd $(srcdir); $(MAKEINFO) forms.texi
251 forms.dvi: forms.texi
252 $(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
254 # gnus/message/emacs-mime/sieve/pgg are part of Gnus:
255 gnus : $(infodir)/gnus
256 $(infodir)/gnus: gnus.texi gnus-faq.texi
257 cd $(srcdir); $(MAKEINFO) gnus.texi
258 gnus.dvi: gnus.texi gnus-faq.texi
259 sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
260 $(ENVADD) $(TEXI2DVI) gnustmp.texi
261 cp gnustmp.dvi $*.dvi
262 rm gnustmp.*
264 # This is produced with --no-split to avoid making files whose
265 # names clash on DOS 8+3 filesystems
266 idlwave : $(infodir)/idlwave
267 $(infodir)/idlwave: idlwave.texi
268 cd $(srcdir); $(MAKEINFO) --no-split idlwave.texi
269 idlwave.dvi: idlwave.texi
270 $(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
272 # The following target uses an explicit -o switch to work around
273 # the @setfilename directive in info.texi, which is required for
274 # the Texinfo distribution.
275 ###info : $(infodir)/info # circular!
276 $(infodir)/info: info.texi
277 cd $(srcdir); $(MAKEINFO) --no-split info.texi -o $@
278 info.dvi: info.texi
279 $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
281 message : $(infodir)/message
282 $(infodir)/message: message.texi
283 cd $(srcdir); $(MAKEINFO) message.texi
284 message.dvi: message.texi
285 $(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
287 mh-e : $(infodir)/mh-e
288 $(infodir)/mh-e: mh-e.texi
289 cd $(srcdir); $(MAKEINFO) mh-e.texi
290 mh-e.dvi: mh-e.texi
291 $(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
293 newsticker : $(infodir)/newsticker
294 $(infodir)/newsticker: newsticker.texi
295 cd $(srcdir); $(MAKEINFO) newsticker.texi
296 newsticker.dvi: newsticker.texi
297 $(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
299 nxml-mode : $(infodir)/nxml-mode
300 $(infodir)/nxml-mode: nxml-mode.texi
301 cd $(srcdir); $(MAKEINFO) nxml-mode.texi
302 nxml-mode.dvi: nxml-mode.texi
303 $(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
305 org : $(infodir)/org
306 $(infodir)/org: org.texi
307 cd $(srcdir); $(MAKEINFO) org.texi
308 org.dvi: org.texi
309 $(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
311 pcl-cvs : $(infodir)/pcl-cvs
312 $(infodir)/pcl-cvs: pcl-cvs.texi
313 cd $(srcdir); $(MAKEINFO) pcl-cvs.texi
314 pcl-cvs.dvi: pcl-cvs.texi
315 $(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
317 pgg : $(infodir)/pgg
318 $(infodir)/pgg: pgg.texi
319 cd $(srcdir); $(MAKEINFO) pgg.texi
320 pgg.dvi: pgg.texi
321 $(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
323 rcirc : $(infodir)/rcirc
324 $(infodir)/rcirc: rcirc.texi
325 cd $(srcdir); $(MAKEINFO) rcirc.texi
326 rcirc.dvi: rcirc.texi
327 $(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi
329 reftex : $(infodir)/reftex
330 $(infodir)/reftex: reftex.texi
331 cd $(srcdir); $(MAKEINFO) reftex.texi
332 reftex.dvi: reftex.texi
333 $(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
335 remember : $(infodir)/remember
336 $(infodir)/remember: remember.texi
337 cd $(srcdir); $(MAKEINFO) remember.texi
338 remember.dvi: remember.texi
339 $(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
341 sc : $(infodir)/sc
342 $(infodir)/sc: sc.texi
343 cd $(srcdir); $(MAKEINFO) sc.texi
344 sc.dvi: sc.texi
345 $(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
347 ses : $(infodir)/ses
348 $(infodir)/ses: ses.texi
349 cd $(srcdir); $(MAKEINFO) ses.texi
350 ses.dvi: ses.texi
351 $(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
353 sieve : $(infodir)/sieve
354 $(infodir)/sieve: sieve.texi
355 cd $(srcdir); $(MAKEINFO) sieve.texi
356 sieve.dvi: sieve.texi
357 $(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi
359 smtpmail : $(infodir)/smtpmail
360 $(infodir)/smtpmail: smtpmail.texi
361 cd $(srcdir); $(MAKEINFO) smtpmail.texi
362 smtpmail.dvi: smtpmail.texi
363 $(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi
365 speedbar : $(infodir)/speedbar
366 $(infodir)/speedbar: speedbar.texi
367 cd $(srcdir); $(MAKEINFO) speedbar.texi
368 speedbar.dvi: speedbar.texi
369 $(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
371 tramp : $(infodir)/tramp
372 $(infodir)/tramp: tramp.texi trampver.texi
373 cd $(srcdir); $(MAKEINFO) -D emacs tramp.texi
374 tramp.dvi: tramp.texi trampver.texi
375 $(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
377 url : $(infodir)/url
378 $(infodir)/url: url.texi
379 cd $(srcdir); $(MAKEINFO) url.texi
380 url.dvi: url.texi
381 $(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
383 vip : $(infodir)/vip
384 $(infodir)/vip: vip.texi
385 cd $(srcdir); $(MAKEINFO) vip.texi
386 vip.dvi: vip.texi
387 $(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
389 viper : $(infodir)/viper
390 $(infodir)/viper: viper.texi
391 cd $(srcdir); $(MAKEINFO) viper.texi
392 viper.dvi: viper.texi
393 $(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
395 widget : $(infodir)/widget
396 $(infodir)/widget: widget.texi
397 cd $(srcdir); $(MAKEINFO) widget.texi
398 widget.dvi: widget.texi
399 $(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi
401 woman : $(infodir)/woman
402 $(infodir)/woman: woman.texi
403 cd $(srcdir); $(MAKEINFO) woman.texi
404 woman.dvi: woman.texi
405 $(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi
408 mostlyclean:
409 rm -f *.log *.cp *.fn *.ky *.op *.ops *.pg *.vr core *.tp \
410 *.tps *.core gnustmp.*
411 rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc
413 clean: mostlyclean
414 rm -f *.dvi
416 distclean: clean
417 # rm -f Makefile
419 maintainer-clean: distclean
420 for file in $(INFO_TARGETS); do rm -f $${file}*; done
423 ### Makefile ends here