annotate man/lispref/Makefile @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
1 # Makefile for the XEmacs Lisp Programmer's Manual.
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
2
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
3 # This file is part of XEmacs.
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
4
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
5 # XEmacs is free software; you can redistribute it and/or modify it
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
6 # under the terms of the GNU General Public License as published by the
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
7 # Free Software Foundation; either version 2, or (at your option) any
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
8 # later version.
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
9
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
10 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
13 # for more details.
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
14
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
15 # You should have received a copy of the GNU General Public License
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
16 # along with XEmacs; see the file COPYING. If not, write to
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
18 # Boston, MA 02111-1307, USA.
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
19
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
20 VERSION=2.4
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
21 NAME=lispref
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
22 manual = elisp-manual-19-$(VERSION)
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
23
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
24 TEXI2DVI = texi2dvi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
25 MAKEINFO = makeinfo
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
26
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
27 # Uncomment this line for permuted index.
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
28 # permuted_index = 1
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
29
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
30 # List of all the texinfo files in the manual:
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
31
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
32 srcs = abbrevs.texi annotations.texi back.texi backups.texi buffers.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
33 building.texi commands.texi compile.texi consoles-devices.texi control.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
34 databases.texi debugging.texi dialog.texi display.texi edebug-inc.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
35 edebug.texi errors.texi eval.texi extents.texi faces.texi files.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
36 frames.texi functions.texi glyphs.texi hash-tables.texi help.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
37 hooks.texi index.texi internationalization.texi intro.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
38 keymaps.texi ldap.texi lispref.texi lists.texi loading.texi locals.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
39 macros.texi maps.texi markers.texi menus.texi minibuf.texi modes.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
40 mouse.texi mule.texi numbers.texi objects.texi os.texi positions.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
41 processes.texi range-tables.texi scrollbars.texi searching.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
42 sequences.texi specifiers.texi streams.texi strings.texi symbols.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
43 syntax.texi text.texi tips.texi toolbar.texi tooltalk.texi variables.texi \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
44 windows.texi x-windows.texi index.unperm index.perm
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
45
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
46 all : info
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
47 info : ../../info/$(NAME).info
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
48
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
49 ../../info/$(NAME).info: $(srcs) index.texi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
50 $(MAKEINFO) -o $@ $(NAME).texi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
51
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
52 dvi: $(NAME).dvi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
53
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
54 $(NAME).dvi: $(srcs) index.texi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
55 # Avoid losing old contents of aux file entirely.
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
56 -mv $(NAME).aux $(NAME).oaux
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
57 # First shot to define xrefs:
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
58 $(TEX) $(NAME).texi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
59 if [ a${permuted_index} != a ]; \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
60 then ./permute-index && mv permuted.fns $(NAME).fns; \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
61 else texindex $(NAME).??; \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
62 fi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
63 $(TEX) $(NAME).texi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
64
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
65 index.texi:
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
66 if [ a${permuted_index} != a ]; \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
67 then ln -s index.perm index.texi; \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
68 else ln -s index.unperm index.texi; \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
69 fi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
70
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
71 .PHONY: mostlyclean clean distclean realclean extraclean
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
72 mostlyclean:
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
73 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
74 *.vr *.vrs *.pg *.pgs *.ky *.kys
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
75 clean: mostlyclean
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
76 rm -f *.dvi *.ps make.out core index.texi
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
77 distclean: clean
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
78 realclean: distclean
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
79 extraclean: distclean
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents:
diff changeset
80 -rm -f *~ \#*