Mercurial > hg > xemacs-beta
comparison man/xemacs/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 | 8eaf7971accc |
comparison
equal
deleted
inserted
replaced
7:c153ca296910 | 8:4b173ad71786 |
---|---|
1 # Makefile for the XEmacs Reference Manual. | 1 # Makefile for the XEmacs Reference Manual. |
2 # | 2 |
3 # based on FSF Makefile, 11 August 1990 | 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 | |
4 # Modified by Ben Wing, February 1994 | 20 # Modified by Ben Wing, February 1994 |
5 | 21 |
6 # Redefine `TEX' if `tex' does not invoke plain TeX. For example: | 22 NAME=xemacs |
7 # TEX=platex | |
8 | 23 |
9 TEX=tex | 24 TEXI2DVI = texi2dvi |
10 | |
11 # Where the TeX macros are kept: | |
12 texmacrodir = /usr/local/lib/tex/macros | |
13 | |
14 # Where the Emacs hierarchy lives ($EMACS in the INSTALL document for Emacs.) | |
15 # For example: | |
16 # emacslibdir = /usr/local/gnu/lib/emacs | |
17 | |
18 # Directory where Emacs is installed, by default: | |
19 emacslibdir = /usr/local/emacs | |
20 | |
21 # Unless you have a nonstandard Emacs installation, these shouldn't have to | |
22 # be changed. | |
23 prefix = /usr/local | |
24 infodir = ${prefix}/info | |
25 | |
26 # The name of the manual: | |
27 | |
28 NAME=xemacs | |
29 | 25 |
30 # List of all the texinfo files in the manual: | 26 # List of all the texinfo files in the manual: |
31 | 27 |
32 srcs = xemacs.texi abbrevs.texi basic.texi buffers.texi building.texi \ | 28 srcs = xemacs.texi abbrevs.texi basic.texi buffers.texi building.texi \ |
33 calendar.texi cmdargs.texi custom.texi display.texi entering.texi \ | 29 calendar.texi cmdargs.texi custom.texi display.texi entering.texi \ |
35 keystrokes.texi killing.texi xemacs.texi m-x.texi major.texi mark.texi \ | 31 keystrokes.texi killing.texi xemacs.texi m-x.texi major.texi mark.texi \ |
36 menus.texi mini.texi misc.texi mouse.texi new.texi picture.texi \ | 32 menus.texi mini.texi misc.texi mouse.texi new.texi picture.texi \ |
37 programs.texi reading.texi regs.texi frame.texi search.texi sending.texi \ | 33 programs.texi reading.texi regs.texi frame.texi search.texi sending.texi \ |
38 text.texi trouble.texi undo.texi windows.texi | 34 text.texi trouble.texi undo.texi windows.texi |
39 | 35 |
40 all: ../../info/$(NAME).info | 36 all : info |
37 info : ../../info/$(NAME).info | |
41 | 38 |
42 $(NAME).dvi: $(srcs) ../texindex | 39 dvi: $(NAME).dvi |
43 # Avoid losing old contents of aux file entirely. | 40 .texi.dvi : |
44 -mv $(NAME).aux $(NAME).oaux | 41 $(TEXI2DVI) $< |
45 # First shot to define xrefs: | |
46 $(TEX) $(NAME).texi | |
47 ../texindex $(NAME).?? | |
48 $(TEX) $(NAME).texi | |
49 | 42 |
50 ../../info/$(NAME).info: $(srcs) ../makeinfo | 43 ../../info/$(NAME).info: $(srcs) |
51 ../makeinfo $(NAME).texi | 44 makeinfo -o $@ $(NAME).texi |
52 | 45 |
53 mostlyclean: | 46 mostlyclean: |
54 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | 47 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ |
55 *.vr *.vrs *.pg *.pgs *.ky *.kys | 48 *.vr *.vrs *.pg *.pgs *.ky *.kys |
56 | |
57 clean: mostlyclean | 49 clean: mostlyclean |
58 rm -f *.dvi *.ps | 50 rm -f *.dvi *.ps make.out core |
59 rm -f make.out core | |
60 | |
61 distclean: clean | 51 distclean: clean |
62 realclean: distclean | 52 realclean: distclean |
63 extraclean: distclean | 53 extraclean: distclean |
64 -rm -f *~ \#* | 54 -rm -f *~ \#* |
65 | |
66 ../texindex: | |
67 (cd ..; make texindex) | |
68 | |
69 ../makeinfo: | |
70 (cd ..; make makeinfo) |