annotate man/internals/Makefile @ 8:4b173ad71786 r19-15b5

Import from CVS: tag r19-15b5
author cvs
date Mon, 13 Aug 2007 08:47:35 +0200
parents 376386a54a3c
children 8d2a9b52c682
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 # Makefile for the XEmacs Internals Manual.
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
2
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
3 # This file is part of XEmacs.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
5 # XEmacs is free software; you can redistribute it and/or modify it
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
6 # under the terms of the GNU General Public License as published by the
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
7 # Free Software Foundation; either version 2, or (at your option) any
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
8 # later version.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
10 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
13 # for more details.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
15 # You should have received a copy of the GNU General Public License
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
16 # along with XEmacs; see the file COPYING. If not, write to
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
18 # Boston, MA 02111-1307, USA.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 VERSION=1.0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 NAME=internals
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 manual = xemacs-internals-manual-19-$(VERSION)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 # Uncomment this line for permuted index.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 # permuted_index = 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 # List of all the texinfo files in the manual:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 srcs = internals.texi index.unperm index.perm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
31 all : info
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
32 info : ../../info/$(NAME).info
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
34 ../../info/$(NAME).info: $(srcs) index.texi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
35 makeinfo $(NAME).texi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
36
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
37 dvi : $(NAME).dvi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
38
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
39 $(NAME).dvi: $(srcs) index.texi
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 # Avoid losing old contents of aux file entirely.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 -mv $(NAME).aux $(NAME).oaux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 # First shot to define xrefs:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 $(TEX) $(NAME).texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 if [ a${permuted_index} != a ]; \
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
45 then ./permute-index && mv permuted.fns $(NAME).fns; \
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
46 else texindex $(NAME).??; \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 $(TEX) $(NAME).texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 index.texi:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 if [ a${permuted_index} != a ]; \
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
52 then ln -s index.perm index.texi; \
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
53 else ln -s index.unperm index.texi; \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 mostlyclean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 *.vr *.vrs *.pg *.pgs *.ky *.kys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 clean: mostlyclean
8
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
60 rm -f *.dvi *.ps make.out core index.texi
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
61 distclean: clean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
62 realclean: clean
4b173ad71786 Import from CVS: tag r19-15b5
cvs
parents: 0
diff changeset
63 extraclean: clean
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 -rm -f *~ \#*