Initial revision
[chise/xemacs-chise.git.1] / man / xemacs / Makefile
1 # Makefile for the XEmacs Reference 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 # Modified by Ben Wing, February 1994
21
22 NAME=xemacs
23
24 MAKEINFO = makeinfo
25 TEXI2DVI = texi2dvi
26
27 # List of all the texinfo files in the manual:
28
29 srcs = xemacs.texi abbrevs.texi basic.texi buffers.texi building.texi \
30   calendar.texi cmdargs.texi custom.texi display.texi entering.texi \
31   files.texi fixit.texi glossary.texi gnu.texi help.texi indent.texi \
32   keystrokes.texi killing.texi xemacs.texi m-x.texi major.texi mark.texi \
33   menus.texi mini.texi misc.texi mouse.texi new.texi picture.texi \
34   programs.texi reading.texi regs.texi frame.texi search.texi sending.texi \
35   text.texi trouble.texi undo.texi windows.texi
36
37 all : info
38 info : ../../info/$(NAME).info
39
40 dvi: $(NAME).dvi
41 .texi.dvi :
42         $(TEXI2DVI) $<
43
44 ../../info/$(NAME).info: $(srcs)
45         $(MAKEINFO) -o $@ $(NAME).texi
46
47 .PHONY: mostlyclean clean distclean realclean extraclean
48 mostlyclean:
49         rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
50               *.vr *.vrs *.pg *.pgs *.ky *.kys
51 clean: mostlyclean
52         rm -f *.dvi *.ps make.out core
53 distclean: clean
54 realclean: distclean
55 extraclean: distclean
56         -rm -f *~ \#*