(describe-key-briefly): Compute interactive args
[emacs.git] / lispref / Makefile.in
blobe3d09fe2c6f40be8d3859f24cc0d992e12680aff
1 # Makefile for the GNU Emacs Lisp Reference Manual.
3 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
4 # 2001, 2002, 2003, 2004, 2005, 2006 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 2, 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.
23 # Standard configure variables.
24 srcdir = @srcdir@
26 # Tell make where to find source files; this is needed for the makefiles.
27 VPATH=@srcdir@
29 infodir = $(srcdir)/../info
31 TEXI2DVI = texi2dvi
32 SHELL = /bin/sh
33 INSTALL_INFO = install-info
34 MAKEINFO = makeinfo --force
36 # The name of the manual:
37 VERSION=2.9
38 manual = elisp-manual-21-$(VERSION)
40 # List of all the texinfo files in the manual:
42 srcs = \
43 $(srcdir)/abbrevs.texi \
44 $(srcdir)/advice.texi \
45 $(srcdir)/anti.texi \
46 $(srcdir)/back.texi \
47 $(srcdir)/backups.texi \
48 $(srcdir)/buffers.texi \
49 $(srcdir)/commands.texi \
50 $(srcdir)/compile.texi \
51 $(srcdir)/control.texi \
52 $(srcdir)/customize.texi \
53 $(srcdir)/debugging.texi \
54 $(srcdir)/display.texi \
55 $(srcdir)/edebug.texi \
56 $(srcdir)/elisp.texi \
57 $(srcdir)/errors.texi \
58 $(srcdir)/eval.texi \
59 $(srcdir)/files.texi \
60 $(srcdir)/frames.texi \
61 $(srcdir)/functions.texi \
62 $(srcdir)/hash.texi \
63 $(srcdir)/help.texi \
64 $(srcdir)/hooks.texi \
65 $(srcdir)/internals.texi \
66 $(srcdir)/intro.texi \
67 $(srcdir)/keymaps.texi \
68 $(srcdir)/lists.texi \
69 $(srcdir)/loading.texi \
70 $(srcdir)/locals.texi \
71 $(srcdir)/macros.texi \
72 $(srcdir)/maps.texi \
73 $(srcdir)/markers.texi \
74 $(srcdir)/minibuf.texi \
75 $(srcdir)/modes.texi \
76 $(srcdir)/nonascii.texi \
77 $(srcdir)/numbers.texi \
78 $(srcdir)/objects.texi \
79 $(srcdir)/os.texi \
80 $(srcdir)/positions.texi \
81 $(srcdir)/processes.texi \
82 $(srcdir)/searching.texi \
83 $(srcdir)/sequences.texi \
84 $(srcdir)/streams.texi \
85 $(srcdir)/strings.texi \
86 $(srcdir)/symbols.texi \
87 $(srcdir)/syntax.texi \
88 $(srcdir)/text.texi \
89 $(srcdir)/tips.texi \
90 $(srcdir)/variables.texi \
91 $(srcdir)/windows.texi \
92 $(srcdir)/index.texi \
93 $(srcdir)/gpl.texi \
94 $(srcdir)/doclicense.texi
97 .PHONY: clean
99 # The info file is named `elisp'.
100 info: $(infodir)/elisp
102 $(infodir)/elisp: $(srcs)
103 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi -o $(infodir)/elisp
105 elisp.dvi: $(srcs)
106 $(TEXI2DVI) -I $(srcdir) $(srcdir)/elisp.texi
108 # This is for use in a separate distro of the Emacs Lisp manual.
109 install: elisp
110 $(srcdir)/mkinstalldirs $(infodir)
111 cp elisp elisp-[1-9] elisp-[1-9][0-9] $(infodir)
112 ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp
114 # This is for use in a separate distro of the Emacs Lisp manual.
115 elisp: $(srcs)
116 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi
118 clean:
119 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
120 *.vr *.vrs *.pg *.pgs *.ky *.kys
121 rm -f make.out core
123 distclean: clean
125 maintainer-clean: clean
126 rm -f elisp.dvi elisp.oaux
127 cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
129 dist: $(infodir)/elisp elisp.dvi
130 -rm -rf temp
131 -mkdir temp
132 -mkdir temp/$(manual)
133 -ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \
134 $(srcdir)/Makefile.in $(srcs) \
135 $(srcdir)/../man/texinfo.tex \
136 elisp.dvi elisp.aux elisp.??s \
137 $(infodir)/elisp $(infodir)/elisp-[1-9] $(infodir)/elisp-[1-9][0-9] \
138 temp/$(manual)
139 -(cd temp/$(manual); rm -f mkinstalldirs)
140 cp $(srcdir)/mkinstalldirs temp/$(manual)
141 (cd temp/$(manual); rm -f *~)
142 (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz
143 -rm -rf temp