0
|
1 # Makefile for the XEmacs Lisp Programmer's Manual.
|
8
|
2
|
|
3 # This file is part of XEmacs.
|
0
|
4
|
8
|
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
|
|
8 # later version.
|
0
|
9
|
8
|
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
|
|
13 # for more details.
|
0
|
14
|
8
|
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.
|
0
|
19
|
|
20 VERSION=2.4
|
|
21 NAME=lispref
|
|
22 manual = elisp-manual-19-$(VERSION)
|
|
23
|
8
|
24 TEXI2DVI = texi2dvi
|
|
25
|
0
|
26 # Uncomment this line for permuted index.
|
|
27 # permuted_index = 1
|
|
28
|
|
29 # List of all the texinfo files in the manual:
|
|
30
|
|
31 srcs = abbrevs.texi annotations.texi back.texi backups.texi buffers.texi \
|
|
32 building.texi commands.texi compile.texi consoles-devices.texi control.texi \
|
|
33 databases.texi debugging.texi dialog.texi display.texi edebug-inc.texi \
|
|
34 edebug.texi errors.texi eval.texi extents.texi faces.texi files.texi \
|
|
35 frames.texi functions.texi glyphs.texi hash-tables.texi help.texi \
|
|
36 hooks.texi index.texi internationalization.texi intro.texi \
|
|
37 keymaps.texi lispref.texi lists.texi loading.texi locals.texi macros.texi \
|
|
38 maps.texi markers.texi menus.texi minibuf.texi modes.texi mouse.texi \
|
|
39 mule.texi numbers.texi objects.texi os.texi positions.texi processes.texi \
|
|
40 range-tables.texi scrollbars.texi searching.texi sequences.texi \
|
|
41 specifiers.texi streams.texi strings.texi symbols.texi syntax.texi \
|
|
42 text.texi tips.texi toolbar.texi tooltalk.texi variables.texi windows.texi \
|
|
43 x-windows.texi index.unperm index.perm
|
|
44
|
8
|
45 all : info
|
|
46 info : ../../info/$(NAME).info
|
0
|
47
|
8
|
48 ../../info/$(NAME).info: $(srcs) index.texi
|
|
49 makeinfo -o $@ $(NAME).texi
|
|
50
|
|
51 dvi: $(NAME).dvi
|
|
52
|
|
53 $(NAME).dvi: $(srcs) index.texi
|
0
|
54 # Avoid losing old contents of aux file entirely.
|
|
55 -mv $(NAME).aux $(NAME).oaux
|
|
56 # First shot to define xrefs:
|
|
57 $(TEX) $(NAME).texi
|
|
58 if [ a${permuted_index} != a ]; \
|
8
|
59 then ./permute-index && mv permuted.fns $(NAME).fns; \
|
|
60 else texindex $(NAME).??; \
|
0
|
61 fi
|
|
62 $(TEX) $(NAME).texi
|
|
63
|
|
64 index.texi:
|
|
65 if [ a${permuted_index} != a ]; \
|
8
|
66 then ln -s index.perm index.texi; \
|
|
67 else ln -s index.unperm index.texi; \
|
0
|
68 fi
|
|
69
|
173
|
70 .PHONY: mostlyclean clean distclean realclean extraclean
|
0
|
71 mostlyclean:
|
|
72 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
|
|
73 *.vr *.vrs *.pg *.pgs *.ky *.kys
|
|
74 clean: mostlyclean
|
8
|
75 rm -f *.dvi *.ps make.out core index.texi
|
0
|
76 distclean: clean
|
|
77 realclean: distclean
|
|
78 extraclean: distclean
|
|
79 -rm -f *~ \#*
|