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, 2009, 2010 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.
26 top_srcdir
=@top_srcdir@
28 # Tell make where to find source files; this is needed for the makefiles.
31 ## Where the output files go.
32 ## Note that the setfilename command in the .texi files assumes this.
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 # Also add new entries to INFO_FILES in the top-level Makefile.in.
54 $(infodir)/emacs-mime \
65 $(infodir)/mairix-el \
68 $(infodir)/newsticker \
69 $(infodir)/nxml-mode \
193 # The following rule does not work with all versions of `make'.
194 .SUFFIXES
: .texi .
dvi
198 ENVADD
= TEXINPUTS
="$(srcdir):$(TEXINPUTS)" MAKEINFO
="$(MAKEINFO) -I$(srcdir)"
201 info: $(infodir) $(INFO_TARGETS
)
210 # Note that all the Info targets build the Info files
211 # in srcdir. There is no provision for Info files
212 # to exist in the build directory.
213 # In a distribution of Emacs, the Info files should be up to date.
215 ## "short" target names for convenience, to just rebuild one manual.
216 ada-mode
: $(infodir)/ada-mode
217 $(infodir)/ada-mode
: ada-mode.texi
218 cd
$(srcdir); $(MAKEINFO
) ada-mode.texi
219 ada-mode.
dvi: ada-mode.texi
220 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/ada-mode.texi
221 ada-mode.pdf
: ada-mode.texi
222 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/ada-mode.texi
224 auth
: $(infodir)/auth
225 $(infodir)/auth
: auth.texi
226 cd
$(srcdir); $(MAKEINFO
) auth.texi
228 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/auth.texi
230 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/auth.texi
232 autotype
: $(infodir)/autotype
233 $(infodir)/autotype
: autotype.texi
234 cd
$(srcdir); $(MAKEINFO
) autotype.texi
235 autotype.
dvi: autotype.texi
236 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/autotype.texi
237 autotype.pdf
: autotype.texi
238 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/autotype.texi
240 calc
: $(infodir)/calc
241 $(infodir)/calc
: calc.texi
242 cd
$(srcdir); $(MAKEINFO
) calc.texi
244 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/calc.texi
246 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/calc.texi
248 ccmode
: $(infodir)/ccmode
249 $(infodir)/ccmode
: cc-mode.texi
250 cd
$(srcdir); $(MAKEINFO
) cc-mode.texi
251 cc-mode.
dvi: cc-mode.texi
252 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/cc-mode.texi
253 cc-mode.pdf
: cc-mode.texi
254 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/cc-mode.texi
257 $(infodir)/cl
: cl.texi
258 cd
$(srcdir); $(MAKEINFO
) cl.texi
260 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/cl.texi
262 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/cl.texi
264 dbus
: $(infodir)/dbus
265 $(infodir)/dbus
: dbus.texi
266 cd
$(srcdir); $(MAKEINFO
) dbus.texi
268 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/dbus.texi
270 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/dbus.texi
272 dired-x
: $(infodir)/dired-x
273 $(infodir)/dired-x
: dired-x.texi
274 cd
$(srcdir); $(MAKEINFO
) dired-x.texi
275 dired-x.
dvi: dired-x.texi
276 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/dired-x.texi
277 dired-x.pdf
: dired-x.texi
278 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/dired-x.texi
280 ebrowse
: $(infodir)/ebrowse
281 $(infodir)/ebrowse
: ebrowse.texi
282 cd
$(srcdir); $(MAKEINFO
) ebrowse.texi
283 ebrowse.
dvi: ebrowse.texi
284 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/ebrowse.texi
285 ebrowse.pdf
: ebrowse.texi
286 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/ebrowse.texi
289 $(infodir)/ede
: ede.texi
290 cd
$(srcdir); $(MAKEINFO
) ede.texi
292 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/ede.texi
294 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/ede.texi
296 ediff
: $(infodir)/ediff
297 $(infodir)/ediff
: ediff.texi
298 cd
$(srcdir); $(MAKEINFO
) ediff.texi
299 ediff.
dvi: ediff.texi
300 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/ediff.texi
301 ediff.pdf
: ediff.texi
302 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/ediff.texi
305 $(infodir)/edt
: edt.texi
306 cd
$(srcdir); $(MAKEINFO
) edt.texi
308 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/edt.texi
310 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/edt.texi
312 eieio
: $(infodir)/eieio
313 $(infodir)/eieio
: eieio.texi
314 cd
$(srcdir); $(MAKEINFO
) eieio.texi
315 eieio.
dvi: eieio.texi
316 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/eieio.texi
317 eieio.pdf
: eieio.texi
318 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/eieio.texi
320 emacs-mime
: $(infodir)/emacs-mime
321 $(infodir)/emacs-mime
: emacs-mime.texi
322 cd
$(srcdir); $(MAKEINFO
) --enable-encoding emacs-mime.texi
323 emacs-mime.
dvi: emacs-mime.texi
324 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/emacs-mime.texi
325 emacs-mime.pdf
: emacs-mime.texi
326 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/emacs-mime.texi
329 $(infodir)/epa
: epa.texi
330 cd
$(srcdir); $(MAKEINFO
) epa.texi
332 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/epa.texi
334 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/epa.texi
337 $(infodir)/erc
: erc.texi
338 cd
$(srcdir); $(MAKEINFO
) erc.texi
340 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/erc.texi
342 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/erc.texi
344 eshell
: $(infodir)/eshell
345 $(infodir)/eshell
: eshell.texi
346 cd
$(srcdir); $(MAKEINFO
) eshell.texi
347 eshell.
dvi: eshell.texi
348 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/eshell.texi
349 eshell.pdf
: eshell.texi
350 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/eshell.texi
352 eudc
: $(infodir)/eudc
353 $(infodir)/eudc
: eudc.texi
354 cd
$(srcdir); $(MAKEINFO
) eudc.texi
356 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/eudc.texi
358 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/eudc.texi
360 efaq
: $(infodir)/efaq
361 $(infodir)/efaq
: faq.texi
362 cd
$(srcdir); $(MAKEINFO
) faq.texi
364 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/faq.texi
366 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/faq.texi
368 flymake
: $(infodir)/flymake
369 $(infodir)/flymake
: flymake.texi
370 cd
$(srcdir); $(MAKEINFO
) flymake.texi
371 flymake.
dvi: flymake.texi
372 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/flymake.texi
373 flymake.pdf
: flymake.texi
374 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/flymake.texi
376 forms
: $(infodir)/forms
377 $(infodir)/forms
: forms.texi
378 cd
$(srcdir); $(MAKEINFO
) forms.texi
379 forms.
dvi: forms.texi
380 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/forms.texi
381 forms.pdf
: forms.texi
382 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/forms.texi
384 # gnus/message/emacs-mime/sieve/pgg are part of Gnus:
385 gnus
: $(infodir)/gnus
386 $(infodir)/gnus
: gnus.texi gnus-faq.texi
387 cd
$(srcdir); $(MAKEINFO
) gnus.texi
388 gnus.
dvi: gnus.texi gnus-faq.texi
389 sed
-e
'/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi
> gnustmp.texi
390 $(ENVADD
) $(TEXI2DVI
) gnustmp.texi
391 cp gnustmp.
dvi $*.
dvi
393 gnus.pdf
: gnus.texi gnus-faq.texi
394 sed
-e
'/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi
> gnustmp.texi
395 $(ENVADD
) $(TEXI2PDF
) gnustmp.texi
399 # This is produced with --no-split to avoid making files whose
400 # names clash on DOS 8+3 filesystems
401 idlwave
: $(infodir)/idlwave
402 $(infodir)/idlwave
: idlwave.texi
403 cd
$(srcdir); $(MAKEINFO
) --no-split idlwave.texi
404 idlwave.
dvi: idlwave.texi
405 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/idlwave.texi
406 idlwave.pdf
: idlwave.texi
407 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/idlwave.texi
409 # The following target uses an explicit -o switch to work around
410 # the @setfilename directive in info.texi, which is required for
411 # the Texinfo distribution.
412 ###info : $(infodir)/info # circular!
413 $(infodir)/info: info.texi
414 cd
$(srcdir); $(MAKEINFO
) --no-split
info.texi
-o
$@
416 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/info.texi
418 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/info.texi
420 mairix-el
: $(infodir)/mairix-el
421 $(infodir)/mairix-el
: mairix-el.texi
422 cd
$(srcdir); $(MAKEINFO
) mairix-el.texi
423 mairix-el.
dvi: mairix-el.texi
424 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/mairix-el.texi
425 mairix-el.pdf
: mairix-el.texi
426 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/mairix-el.texi
428 message
: $(infodir)/message
429 $(infodir)/message
: message.texi
430 cd
$(srcdir); $(MAKEINFO
) message.texi
431 message.
dvi: message.texi
432 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/message.texi
433 message.pdf
: message.texi
434 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/message.texi
436 mh-e
: $(infodir)/mh-e
437 $(infodir)/mh-e
: mh-e.texi
438 cd
$(srcdir); $(MAKEINFO
) mh-e.texi
440 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/mh-e.texi
442 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/mh-e.texi
444 newsticker
: $(infodir)/newsticker
445 $(infodir)/newsticker
: newsticker.texi
446 cd
$(srcdir); $(MAKEINFO
) newsticker.texi
447 newsticker.
dvi: newsticker.texi
448 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/newsticker.texi
449 newsticker.pdf
: newsticker.texi
450 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/newsticker.texi
452 nxml-mode
: $(infodir)/nxml-mode
453 $(infodir)/nxml-mode
: nxml-mode.texi
454 cd
$(srcdir); $(MAKEINFO
) nxml-mode.texi
455 nxml-mode.
dvi: nxml-mode.texi
456 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/nxml-mode.texi
457 nxml-mode.pdf
: nxml-mode.texi
458 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/nxml-mode.texi
461 $(infodir)/org
: org.texi
462 cd
$(srcdir); $(MAKEINFO
) org.texi
464 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/org.texi
466 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/org.texi
468 pcl-cvs
: $(infodir)/pcl-cvs
469 $(infodir)/pcl-cvs
: pcl-cvs.texi
470 cd
$(srcdir); $(MAKEINFO
) pcl-cvs.texi
471 pcl-cvs.
dvi: pcl-cvs.texi
472 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/pcl-cvs.texi
473 pcl-cvs.pdf
: pcl-cvs.texi
474 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/pcl-cvs.texi
477 $(infodir)/pgg
: pgg.texi
478 cd
$(srcdir); $(MAKEINFO
) pgg.texi
480 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/pgg.texi
482 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/pgg.texi
484 rcirc
: $(infodir)/rcirc
485 $(infodir)/rcirc
: rcirc.texi
486 cd
$(srcdir); $(MAKEINFO
) rcirc.texi
487 rcirc.
dvi: rcirc.texi
488 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/rcirc.texi
489 rcirc.pdf
: rcirc.texi
490 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/rcirc.texi
492 reftex
: $(infodir)/reftex
493 $(infodir)/reftex
: reftex.texi
494 cd
$(srcdir); $(MAKEINFO
) reftex.texi
495 reftex.
dvi: reftex.texi
496 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/reftex.texi
497 reftex.pdf
: reftex.texi
498 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/reftex.texi
500 remember
: $(infodir)/remember
501 $(infodir)/remember
: remember.texi
502 cd
$(srcdir); $(MAKEINFO
) remember.texi
503 remember.
dvi: remember.texi
504 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/remember.texi
505 remember.pdf
: remember.texi
506 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/remember.texi
508 sasl
: $(infodir)/sasl
509 $(infodir)/sasl
: sasl.texi
510 cd
$(srcdir); $(MAKEINFO
) sasl.texi
512 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/sasl.texi
514 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/sasl.texi
517 $(infodir)/sc
: sc.texi
518 cd
$(srcdir); $(MAKEINFO
) sc.texi
520 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/sc.texi
522 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/sc.texi
524 semantic
: $(infodir)/semantic
525 $(infodir)/semantic
: semantic.texi sem-user.texi
526 cd
$(srcdir); $(MAKEINFO
) semantic.texi
527 semantic.
dvi: semantic.texi
528 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/semantic.texi
529 semantic.pdf
: semantic.texi
530 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/semantic.texi
533 $(infodir)/ses
: ses.texi
534 cd
$(srcdir); $(MAKEINFO
) ses.texi
536 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/ses.texi
538 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/ses.texi
540 sieve
: $(infodir)/sieve
541 $(infodir)/sieve
: sieve.texi
542 cd
$(srcdir); $(MAKEINFO
) sieve.texi
543 sieve.
dvi: sieve.texi
544 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/sieve.texi
545 sieve.pdf
: sieve.texi
546 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/sieve.texi
548 smtpmail
: $(infodir)/smtpmail
549 $(infodir)/smtpmail
: smtpmail.texi
550 cd
$(srcdir); $(MAKEINFO
) smtpmail.texi
551 smtpmail.
dvi: smtpmail.texi
552 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/smtpmail.texi
553 smtpmail.pdf
: smtpmail.texi
554 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/smtpmail.texi
556 speedbar
: $(infodir)/speedbar
557 $(infodir)/speedbar
: speedbar.texi
558 cd
$(srcdir); $(MAKEINFO
) speedbar.texi
559 speedbar.
dvi: speedbar.texi
560 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/speedbar.texi
561 speedbar.pdf
: speedbar.texi
562 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/speedbar.texi
564 tramp
: $(infodir)/tramp
565 $(infodir)/tramp
: tramp.texi trampver.texi
566 cd
$(srcdir); $(MAKEINFO
) -D emacs tramp.texi
567 tramp.
dvi: tramp.texi trampver.texi
568 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/tramp.texi
569 tramp.pdf
: tramp.texi trampver.texi
570 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/tramp.texi
573 $(infodir)/url
: url.texi
574 cd
$(srcdir); $(MAKEINFO
) url.texi
576 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/url.texi
578 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/url.texi
581 $(infodir)/vip
: vip.texi
582 cd
$(srcdir); $(MAKEINFO
) vip.texi
584 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/vip.texi
586 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/vip.texi
588 viper
: $(infodir)/viper
589 $(infodir)/viper
: viper.texi
590 cd
$(srcdir); $(MAKEINFO
) viper.texi
591 viper.
dvi: viper.texi
592 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/viper.texi
593 viper.pdf
: viper.texi
594 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/viper.texi
596 widget
: $(infodir)/widget
597 $(infodir)/widget
: widget.texi
598 cd
$(srcdir); $(MAKEINFO
) widget.texi
599 widget.
dvi: widget.texi
600 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/widget.texi
601 widget.pdf
: widget.texi
602 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/widget.texi
604 woman
: $(infodir)/woman
605 $(infodir)/woman
: woman.texi
606 cd
$(srcdir); $(MAKEINFO
) woman.texi
607 woman.
dvi: woman.texi
608 $(ENVADD
) $(TEXI2DVI
) ${srcdir}/woman.texi
609 woman.pdf
: woman.texi
610 $(ENVADD
) $(TEXI2PDF
) ${srcdir}/woman.texi
614 rm -f
*.log
*.cp
*.fn
*.ky
*.op
*.ops
*.pg
*.vr core
*.tp \
615 *.tps
*.core gnustmp.
*
616 rm -f
*.aux
*.cps
*.fns
*.kys
*.pgs
*.vrs
*.toc
624 maintainer-clean
: distclean
625 for file in
$(INFO_TARGETS
); do
rm -f
$${file}*; done
628 ### Makefile ends here