-# Makefile for the GNU Emacs Lisp Reference Manual.
+# -*- Makefile -*- for the GNU Emacs Lisp Reference Manual.
-# Copyright (C) 1990,1991,1992,1993,1994,1995,1996,1998,1999,2000,2001
+# Copyright (C) 2003, 2004
# Free Software Foundation, Inc.
# This file is part of GNU Emacs.
VERSION=2.9
manual = elisp-manual-21-$(VERSION)
-# Uncomment this line for permuted index.
-# permuted_index = 1
-
# List of all the texinfo files in the manual:
srcs = \
$(srcdir)/tips.texi \
$(srcdir)/variables.texi \
$(srcdir)/windows.texi \
- $(srcdir)/index.unperm \
- $(srcdir)/index.perm \
+ $(srcdir)/index.texi \
$(srcdir)/gpl.texi \
$(srcdir)/doclicense.texi
info: $(infodir)/elisp
$(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
-$(infodir)/elisp: $(srcs) index.texi
- $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi -o $(infodir)/elisp
+$(infodir)/elisp: $(srcs)
+ $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi
-elisp.dvi: $(srcs) index.texi
-# Avoid losing old contents of aux file entirely.
- -ren elisp.aux elisp.oaux
-# First shot to define xrefs.
- $(texinputdir) $(TEX) $(srcdir)/elisp.texi
- if not a$(permuted_index) == a sh $(srcdir)/permute-index
- if not a$(permuted_index) == a ren permuted.fns elisp.fns
- if not a$(permuted_index) == a texindex elisp.tp
- if a$(permuted_index) == a texindex elisp.??
+elisp.dvi: $(srcs)
$(texinputdir) $(TEX) $(srcdir)/elisp.texi
-index.texi:
- if a$(permuted_index) == a cp $(srcdir)/index.unperm index.texi
- if not a$(permuted_index) == a cp $(srcdir)/index.perm index.texi
-
clean:
- rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
- *.vr *.vrs *.pg *.pgs *.ky *.kys
- rm -f make.out core
- rm -f index.texi
- rm -f $(infodir)/elisp*
+ - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
+ *.vr *.vrs *.pg *.pgs *.ky *.kys
+ - $(DEL) make.out core
+ - $(DEL) $(infodir)/elisp*
distclean: clean
maintainer-clean: clean
- rm -f elisp elisp-* elisp.dvi elisp.oaux
+ - $(DEL) elisp elisp-* elisp.dvi elisp.oaux