0
|
1 # Makefile for the XEmacs Reference Manual.
|
|
2 #
|
|
3 # based on FSF Makefile, 11 August 1990
|
|
4 # Modified by Ben Wing, February 1994
|
|
5
|
|
6 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
|
|
7 # TEX=platex
|
|
8
|
|
9 TEX=tex
|
|
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
|
|
30 # List of all the texinfo files in the manual:
|
|
31
|
|
32 srcs = xemacs.texi abbrevs.texi basic.texi buffers.texi building.texi \
|
|
33 calendar.texi cmdargs.texi custom.texi display.texi entering.texi \
|
|
34 files.texi fixit.texi glossary.texi gnu.texi help.texi indent.texi \
|
|
35 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 \
|
|
37 programs.texi reading.texi regs.texi frame.texi search.texi sending.texi \
|
|
38 text.texi trouble.texi undo.texi windows.texi
|
|
39
|
|
40 all: ../../info/$(NAME).info
|
|
41
|
|
42 $(NAME).dvi: $(srcs) ../texindex
|
|
43 # Avoid losing old contents of aux file entirely.
|
|
44 -mv $(NAME).aux $(NAME).oaux
|
|
45 # First shot to define xrefs:
|
|
46 $(TEX) $(NAME).texi
|
|
47 ../texindex $(NAME).??
|
|
48 $(TEX) $(NAME).texi
|
|
49
|
|
50 ../../info/$(NAME).info: $(srcs) ../makeinfo
|
|
51 ../makeinfo $(NAME).texi
|
|
52
|
|
53 mostlyclean:
|
|
54 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
|
|
55 *.vr *.vrs *.pg *.pgs *.ky *.kys
|
|
56
|
|
57 clean: mostlyclean
|
|
58 rm -f *.dvi *.ps
|
|
59 rm -f make.out core
|
|
60
|
|
61 distclean: clean
|
|
62 realclean: distclean
|
|
63 extraclean: distclean
|
|
64 -rm -f *~ \#*
|
|
65
|
|
66 ../texindex:
|
|
67 (cd ..; make texindex)
|
|
68
|
|
69 ../makeinfo:
|
|
70 (cd ..; make makeinfo)
|