annotate man/new-users-guide/Makefile @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children 4b173ad71786
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 New Users Guide
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 # based on XEmacs Makefile
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 # TEX=platex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 TEX=tex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 # Where the TeX macros are kept:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 texmacrodir = /usr/local/lib/tex/macros
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 # Where the Emacs hierarchy lives ($EMACS in the INSTALL document for Emacs.)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 # For example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 # emacslibdir = /usr/local/gnu/lib/emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 # Directory where Emacs is installed, by default:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 emacslibdir = /usr/local/emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 # Unless you have a nonstandard Emacs installation, these shouldn't have to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 # be changed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 prefix = /usr/local
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 infodir = ${prefix}/info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 # The name of the manual:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 NAME=new-users-guide
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 # List of all the texinfo files in the manual:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 srcs = new-users-guide.texi custom1.texi files.texi region.texi \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 custom2.texi help.texi search.texi edit.texi modes.texi \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 xmenu.texi enter.texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 all: ../../info/$(NAME).info
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 $(NAME).dvi: $(srcs) ../texindex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 # Avoid losing old contents of aux file entirely.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 -mv $(NAME).aux $(NAME).oaux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 # First shot to define xrefs:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 $(TEX) $(NAME).texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 ../texindex $(NAME).??
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
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 ../../info/$(NAME).info: $(srcs) ../makeinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 ../makeinfo $(NAME).texi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 mostlyclean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 *.vr *.vrs *.pg *.pgs *.ky *.kys
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 clean: mostlyclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 rm -f *.dvi *.ps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 rm -f make.out core
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 distclean: clean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 realclean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 extraclean: distclean
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 -rm -f *~ \#*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 ../texindex:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 (cd ..; make texindex)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 ../makeinfo:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 (cd ..; make makeinfo)