1 |
# Makefile for the GNU Emacs Lisp Reference Manual. |
# Makefile for the GNU Emacs Lisp Reference Manual. |
2 |
# |
|
3 |
# 2 September 2001 |
# Copyright (C) 1990,1991,1992,1993,1994,1995,1996,1998,1999,2000,2001 |
4 |
|
# Free Software Foundation, Inc. |
5 |
|
|
6 |
|
# This file is part of GNU Emacs. |
7 |
|
|
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. |
12 |
|
|
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. |
17 |
|
|
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., 59 Temple Place - Suite 330, |
21 |
|
# Boston, MA 02111-1307, USA. |
22 |
|
|
23 |
# Standard configure variables. |
# Standard configure variables. |
|
prefix = @prefix@ |
|
|
infodir = @infodir@ |
|
24 |
srcdir = @srcdir@ |
srcdir = @srcdir@ |
25 |
|
|
26 |
|
# Tell make where to find source files; this is needed for the makefiles. |
27 |
|
VPATH=@srcdir@ |
28 |
|
|
29 |
|
infodir = ../info |
30 |
|
|
31 |
# Redefine `TEX' if `tex' does not invoke plain TeX. For example: |
# Redefine `TEX' if `tex' does not invoke plain TeX. For example: |
32 |
# TEX=platex |
# TEX=platex |
33 |
TEX=tex |
TEX=tex |
|
MAKE=make |
|
34 |
SHELL=/bin/sh |
SHELL=/bin/sh |
35 |
INSTALL_INFO = install-info |
INSTALL_INFO = install-info |
36 |
MAKEINFO=makeinfo |
MAKEINFO=makeinfo |
37 |
|
|
|
# Where the TeX macros are kept: |
|
|
texmacrodir = /usr/local/lib/tex/macros |
|
|
|
|
38 |
# The environment variable and its value to add $(srcdir) to the path |
# The environment variable and its value to add $(srcdir) to the path |
39 |
# searched for TeX input files. |
# searched for TeX input files. |
40 |
texinputdir = TEXINPUTS=$(srcdir): |
texinputdir = TEXINPUTS=$(srcdir):"$(TEXINPUTS)" |
41 |
|
|
42 |
# The name of the manual: |
# The name of the manual: |
43 |
VERSION=2.8 |
VERSION=2.8 |
109 |
|
|
110 |
# The info file is named `elisp'. |
# The info file is named `elisp'. |
111 |
|
|
112 |
elisp: $(srcs) index.texi |
$(infodir)/elisp: $(srcs) index.texi |
113 |
rm -f elisp-* |
cd $(srcdir); $(MAKEINFO) -I. elisp.texi -o $(infodir)/elisp |
|
$(MAKEINFO) -I $(srcdir) $(srcdir)/elisp.texi |
|
114 |
|
|
115 |
elisp.dvi: $(srcs) index.texi |
elisp.dvi: $(srcs) index.texi |
116 |
# Avoid losing old contents of aux file entirely. |
# Avoid losing old contents of aux file entirely. |
140 |
cp elisp elisp-* $(infodir) |
cp elisp elisp-* $(infodir) |
141 |
${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp |
${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp |
142 |
|
|
|
installall: install |
|
|
install -c $(srcdir)/../man/texinfo.tex $(texmacrodir) |
|
|
|
|
143 |
clean: |
clean: |
144 |
rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ |
rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ |
145 |
*.vr *.vrs *.pg *.pgs *.ky *.kys |
*.vr *.vrs *.pg *.pgs *.ky *.kys |