0
|
1 # Makefile for the XEmacs Internals 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=1.0
|
|
21 NAME=internals
|
|
22 manual = xemacs-internals-manual-19-$(VERSION)
|
|
23
|
|
24 # Uncomment this line for permuted index.
|
|
25 # permuted_index = 1
|
|
26
|
|
27 # List of all the texinfo files in the manual:
|
|
28
|
|
29 srcs = internals.texi index.unperm index.perm
|
|
30
|
8
|
31 all : info
|
|
32 info : ../../info/$(NAME).info
|
0
|
33
|
8
|
34 ../../info/$(NAME).info: $(srcs) index.texi
|
118
|
35 $(MAKEINFO) $(NAME).texi
|
8
|
36
|
|
37 dvi : $(NAME).dvi
|
|
38
|
|
39 $(NAME).dvi: $(srcs) index.texi
|
0
|
40 # Avoid losing old contents of aux file entirely.
|
|
41 -mv $(NAME).aux $(NAME).oaux
|
|
42 # First shot to define xrefs:
|
|
43 $(TEX) $(NAME).texi
|
|
44 if [ a${permuted_index} != a ]; \
|
8
|
45 then ./permute-index && mv permuted.fns $(NAME).fns; \
|
|
46 else texindex $(NAME).??; \
|
0
|
47 fi
|
|
48 $(TEX) $(NAME).texi
|
|
49
|
|
50 index.texi:
|
|
51 if [ a${permuted_index} != a ]; \
|
8
|
52 then ln -s index.perm index.texi; \
|
|
53 else ln -s index.unperm index.texi; \
|
0
|
54 fi
|
|
55
|
|
56 mostlyclean:
|
|
57 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
|
|
58 *.vr *.vrs *.pg *.pgs *.ky *.kys
|
|
59 clean: mostlyclean
|
8
|
60 rm -f *.dvi *.ps make.out core index.texi
|
|
61 distclean: clean
|
|
62 realclean: clean
|
|
63 extraclean: clean
|
0
|
64 -rm -f *~ \#*
|