112
|
1 # Makefile for the XEmacs Internals Manual.
|
|
2
|
|
3 # This file is part of XEmacs.
|
|
4
|
|
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.
|
|
9
|
|
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.
|
|
14
|
|
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.
|
|
19
|
|
20 VERSION=1.0
|
|
21 NAME=gnats
|
|
22
|
193
|
23 TEXI2DVI = texi2dvi
|
|
24 MAKEINFO = makeinfo
|
|
25
|
112
|
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 = categ.texi fields.texi flowchart.txt gnats.texi p-admin.texi \
|
193
|
32 p-inst.texi p-usage.texi s-usage.texi send-pr.texi states.texi \
|
112
|
33 version.texi
|
|
34
|
|
35 gnats_srcs = flowchart.txt gnats.texi p-admin.texi p-inst.texi \
|
|
36 p-usage.texi version.texi
|
|
37
|
|
38 send_pr_srcs = categ.texi fields.texi s-usage.texi send-pr.texi states.texi \
|
|
39 version.texi
|
|
40
|
|
41 all : info
|
|
42 info : ../../info/$(NAME).info ../../info/send-pr.info
|
|
43
|
|
44 ../../info/$(NAME).info: ${gnats_srcs}
|
193
|
45 $(MAKEINFO) $(NAME).texi -o ../../info/${NAME}.info
|
112
|
46
|
|
47 ../../info/send-pr.info: ${seend_pr_srcs}
|
193
|
48 $(MAKEINFO) send-pr.texi -o ../../info/send-pr.info
|
112
|
49
|
|
50 dvi : $(NAME).dvi send-pr.dvi
|
|
51
|
193
|
52 #$(NAME).dvi: $(srcs) index.texi
|
|
53 $(NAME).dvi: $(srcs)
|
|
54 $(TEXI2DVI) gnats.texi
|
|
55 $(TEXI2DVI) send-pr.texi
|
112
|
56
|
173
|
57 .PHONY: mostlyclean clean distclean realclean extraclean
|
112
|
58 mostlyclean:
|
|
59 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
|
|
60 *.vr *.vrs *.pg *.pgs *.ky *.kys
|
|
61 clean: mostlyclean
|
|
62 rm -f *.dvi *.ps make.out core index.texi
|
|
63 distclean: clean
|
|
64 realclean: clean
|
|
65 extraclean: clean
|
|
66 -rm -f *~ \#*
|