1 # Makefile for the XEmacs Lisp Programmer's Manual.
3 # This file is part of XEmacs.
5 # XEmacs is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the
7 # Free Software Foundation; either version 2, or (at your option) any
10 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 # You should have received a copy of the GNU General Public License
16 # along with XEmacs; see the file COPYING. If not, write to
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 # Boston, MA 02111-1307, USA.
22 manual = elisp-manual-19-$(VERSION)
27 # Uncomment this line for permuted index.
30 # List of all the texinfo files in the manual:
32 srcs = abbrevs.texi annotations.texi back.texi backups.texi buffers.texi \
33 building.texi commands.texi compile.texi consoles-devices.texi control.texi \
34 databases.texi debugging.texi dialog.texi display.texi edebug-inc.texi \
35 edebug.texi errors.texi eval.texi extents.texi faces.texi files.texi \
36 frames.texi functions.texi glyphs.texi hash-tables.texi help.texi \
37 hooks.texi index.texi internationalization.texi intro.texi \
38 keymaps.texi ldap.texi lispref.texi lists.texi loading.texi locals.texi \
39 macros.texi maps.texi markers.texi menus.texi minibuf.texi modes.texi \
40 mouse.texi mule.texi numbers.texi objects.texi os.texi positions.texi \
41 processes.texi range-tables.texi scrollbars.texi searching.texi \
42 sequences.texi specifiers.texi streams.texi strings.texi symbols.texi \
43 syntax.texi text.texi tips.texi toolbar.texi tooltalk.texi variables.texi \
44 windows.texi x-windows.texi index.unperm index.perm
47 info : ../../info/$(NAME).info
49 ../../info/$(NAME).info: $(srcs) index.texi
50 $(MAKEINFO) -o $@ $(NAME).texi
54 $(NAME).dvi: $(srcs) index.texi
55 # Avoid losing old contents of aux file entirely.
56 -mv $(NAME).aux $(NAME).oaux
57 # First shot to define xrefs:
59 if [ a${permuted_index} != a ]; \
60 then ./permute-index && mv permuted.fns $(NAME).fns; \
61 else texindex $(NAME).??; \
66 if [ a${permuted_index} != a ]; \
67 then ln -s index.perm index.texi; \
68 else ln -s index.unperm index.texi; \
71 .PHONY: mostlyclean clean distclean realclean extraclean
73 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
74 *.vr *.vrs *.pg *.pgs *.ky *.kys
76 rm -f *.dvi *.ps make.out core index.texi