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