Mercurial > hg > xemacs-beta
comparison man/new-users-guide/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 New Users Guide | 1 # Makefile for the XEmacs New Users Guide |
2 # | |
3 # based on XEmacs Makefile | |
4 | 2 |
5 # Redefine `TEX' if `tex' does not invoke plain TeX. For example: | 3 # This file is part of XEmacs. |
6 # TEX=platex | |
7 | 4 |
8 TEX=tex | 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 | 9 |
10 # Where the TeX macros are kept: | 10 # XEmacs is distributed in the hope that it will be useful, but WITHOUT |
11 texmacrodir = /usr/local/lib/tex/macros | 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. | |
12 | 14 |
13 # Where the Emacs hierarchy lives ($EMACS in the INSTALL document for Emacs.) | 15 # You should have received a copy of the GNU General Public License |
14 # For example: | 16 # along with XEmacs; see the file COPYING. If not, write to |
15 # emacslibdir = /usr/local/gnu/lib/emacs | 17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
16 | 18 # Boston, MA 02111-1307, USA. |
17 # Directory where Emacs is installed, by default: | |
18 emacslibdir = /usr/local/emacs | |
19 | |
20 # Unless you have a nonstandard Emacs installation, these shouldn't have to | |
21 # be changed. | |
22 prefix = /usr/local | |
23 infodir = ${prefix}/info | |
24 | |
25 # The name of the manual: | |
26 | 19 |
27 NAME=new-users-guide | 20 NAME=new-users-guide |
21 | |
22 SHELL = /bin/sh | |
23 TEXI2DVI = texi2dvi | |
28 | 24 |
29 # List of all the texinfo files in the manual: | 25 # List of all the texinfo files in the manual: |
30 | 26 |
31 srcs = new-users-guide.texi custom1.texi files.texi region.texi \ | 27 srcs = new-users-guide.texi custom1.texi files.texi region.texi \ |
32 custom2.texi help.texi search.texi edit.texi modes.texi \ | 28 custom2.texi help.texi search.texi edit.texi modes.texi \ |
33 xmenu.texi enter.texi | 29 xmenu.texi enter.texi |
34 | 30 |
35 all: ../../info/$(NAME).info | 31 all : info |
32 info : ../../info/$(NAME).info | |
36 | 33 |
37 $(NAME).dvi: $(srcs) ../texindex | 34 ../../info/$(NAME).info: $(srcs) |
38 # Avoid losing old contents of aux file entirely. | 35 makeinfo -o $@ $(NAME).texi |
39 -mv $(NAME).aux $(NAME).oaux | |
40 # First shot to define xrefs: | |
41 $(TEX) $(NAME).texi | |
42 ../texindex $(NAME).?? | |
43 $(TEX) $(NAME).texi | |
44 | 36 |
45 ../../info/$(NAME).info: $(srcs) ../makeinfo | 37 dvi : $(NAME).dvi |
46 ../makeinfo $(NAME).texi | 38 .texi.dvi : |
39 $(TEXI2DVI) $< | |
47 | 40 |
48 mostlyclean: | 41 mostlyclean: |
49 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | 42 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ |
50 *.vr *.vrs *.pg *.pgs *.ky *.kys | 43 *.vr *.vrs *.pg *.pgs *.ky *.kys |
51 | |
52 clean: mostlyclean | 44 clean: mostlyclean |
53 rm -f *.dvi *.ps | 45 rm -f *.dvi *.ps make.out core |
54 rm -f make.out core | 46 distclean: clean |
55 | 47 realclean: clean |
56 distclean: clean | 48 extraclean: clean |
57 realclean: distclean | |
58 extraclean: distclean | |
59 -rm -f *~ \#* | 49 -rm -f *~ \#* |
60 | |
61 ../texindex: | |
62 (cd ..; make texindex) | |
63 | |
64 ../makeinfo: | |
65 (cd ..; make makeinfo) |