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 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)
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.
26 # Tell make where to find source files; this is needed for the makefiles.
29 infodir = $(srcdir)/..
/info
33 INSTALL_INFO
= install-info
34 MAKEINFO
= makeinfo --force
36 # The name of the manual:
38 manual
= elisp-manual-21-
$(VERSION
)
40 # List of all the texinfo files in the manual:
43 $(srcdir)/abbrevs.texi \
44 $(srcdir)/advice.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 \
59 $(srcdir)/files.texi \
60 $(srcdir)/frames.texi \
61 $(srcdir)/functions.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 \
73 $(srcdir)/markers.texi \
74 $(srcdir)/minibuf.texi \
75 $(srcdir)/modes.texi \
76 $(srcdir)/nonascii.texi \
77 $(srcdir)/numbers.texi \
78 $(srcdir)/objects.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 \
90 $(srcdir)/variables.texi \
91 $(srcdir)/windows.texi \
92 $(srcdir)/index.texi \
94 $(srcdir)/doclicense.texi
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
106 $(TEXI2DVI
) -I
$(srcdir) $(srcdir)/elisp.texi
108 # This is for use in a separate distro of the Emacs Lisp manual.
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.
116 $(MAKEINFO
) -I.
-I
$(srcdir) $(srcdir)/elisp.texi
119 rm -f
*.toc
*.aux
*.log
*.cp
*.cps
*.fn
*.fns
*.tp
*.tps \
120 *.vr
*.vrs
*.pg
*.pgs
*.ky
*.kys
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
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] \
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