52423
|
1 # Makefile for the GNU Emacs Lisp Reference Manual.
|
|
2
|
52425
|
3 # Copyright (C) 2003
|
52423
|
4 # Free Software Foundation, Inc.
|
|
5
|
|
6 # This file is part of GNU Emacs.
|
|
7
|
|
8 # GNU Emacs is free software; you can redistribute it and/or modify
|
|
9 # it under the terms of the GNU General Public License as published by
|
|
10 # the Free Software Foundation; either version 2, or (at your option)
|
|
11 # any later version.
|
|
12
|
|
13 # GNU Emacs is distributed in the hope that it will be useful,
|
|
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16 # GNU General Public License for more details.
|
|
17
|
|
18 # You should have received a copy of the GNU General Public License
|
|
19 # along with GNU Emacs; see the file COPYING. If not, write to
|
|
20 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
21 # Boston, MA 02111-1307, USA.
|
|
22
|
|
23 # Standard configure variables.
|
|
24 srcdir = .
|
|
25
|
|
26 infodir = $(srcdir)/../info
|
|
27
|
|
28 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
|
|
29 # TEX=platex
|
|
30 TEX=tex
|
|
31 INSTALL_INFO = install-info
|
|
32 MAKEINFO = makeinfo
|
|
33
|
|
34 # The environment variable and its value to add $(srcdir) to the path
|
|
35 # searched for TeX input files.
|
|
36 texinputdir = $(srcdir)\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" /C
|
|
37
|
|
38 # The name of the manual:
|
|
39 VERSION=2.9
|
|
40 manual = elisp-manual-21-$(VERSION)
|
|
41
|
|
42 # Uncomment this line for permuted index.
|
|
43 # permuted_index = 1
|
|
44
|
|
45 # List of all the texinfo files in the manual:
|
|
46
|
|
47 srcs = \
|
|
48 $(srcdir)/abbrevs.texi \
|
|
49 $(srcdir)/advice.texi \
|
|
50 $(srcdir)/anti.texi \
|
|
51 $(srcdir)/back.texi \
|
|
52 $(srcdir)/backups.texi \
|
|
53 $(srcdir)/buffers.texi \
|
|
54 $(srcdir)/calendar.texi \
|
|
55 $(srcdir)/commands.texi \
|
|
56 $(srcdir)/compile.texi \
|
|
57 $(srcdir)/control.texi \
|
|
58 $(srcdir)/customize.texi \
|
|
59 $(srcdir)/debugging.texi \
|
|
60 $(srcdir)/display.texi \
|
|
61 $(srcdir)/edebug.texi \
|
|
62 $(srcdir)/elisp.texi \
|
|
63 $(srcdir)/errors.texi \
|
|
64 $(srcdir)/eval.texi \
|
|
65 $(srcdir)/files.texi \
|
|
66 $(srcdir)/frames.texi \
|
|
67 $(srcdir)/functions.texi \
|
|
68 $(srcdir)/hash.texi \
|
|
69 $(srcdir)/help.texi \
|
|
70 $(srcdir)/hooks.texi \
|
|
71 $(srcdir)/internals.texi \
|
|
72 $(srcdir)/intro.texi \
|
|
73 $(srcdir)/keymaps.texi \
|
|
74 $(srcdir)/lists.texi \
|
|
75 $(srcdir)/loading.texi \
|
|
76 $(srcdir)/locals.texi \
|
|
77 $(srcdir)/macros.texi \
|
|
78 $(srcdir)/maps.texi \
|
|
79 $(srcdir)/markers.texi \
|
|
80 $(srcdir)/minibuf.texi \
|
|
81 $(srcdir)/modes.texi \
|
|
82 $(srcdir)/nonascii.texi \
|
|
83 $(srcdir)/numbers.texi \
|
|
84 $(srcdir)/objects.texi \
|
|
85 $(srcdir)/os.texi \
|
|
86 $(srcdir)/positions.texi \
|
|
87 $(srcdir)/processes.texi \
|
|
88 $(srcdir)/searching.texi \
|
|
89 $(srcdir)/sequences.texi \
|
|
90 $(srcdir)/streams.texi \
|
|
91 $(srcdir)/strings.texi \
|
|
92 $(srcdir)/symbols.texi \
|
|
93 $(srcdir)/syntax.texi \
|
|
94 $(srcdir)/text.texi \
|
|
95 $(srcdir)/tips.texi \
|
|
96 $(srcdir)/variables.texi \
|
|
97 $(srcdir)/windows.texi \
|
|
98 $(srcdir)/index.unperm \
|
|
99 $(srcdir)/index.perm \
|
|
100 $(srcdir)/gpl.texi \
|
|
101 $(srcdir)/doclicense.texi
|
|
102
|
|
103
|
|
104 .PHONY: clean
|
|
105
|
|
106 # The info file is named `elisp'.
|
|
107 info: $(infodir)/elisp
|
|
108 $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
|
|
109
|
|
110 $(infodir)/elisp: $(srcs) index.texi
|
|
111 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi -o $(infodir)/elisp
|
|
112
|
|
113 elisp.dvi: $(srcs) index.texi
|
|
114 # Avoid losing old contents of aux file entirely.
|
|
115 -ren elisp.aux elisp.oaux
|
|
116 # First shot to define xrefs.
|
|
117 $(texinputdir) $(TEX) $(srcdir)/elisp.texi
|
|
118 if not a$(permuted_index) == a sh $(srcdir)/permute-index
|
|
119 if not a$(permuted_index) == a ren permuted.fns elisp.fns
|
|
120 if not a$(permuted_index) == a texindex elisp.tp
|
|
121 if a$(permuted_index) == a texindex elisp.??
|
|
122 $(texinputdir) $(TEX) $(srcdir)/elisp.texi
|
|
123
|
|
124 index.texi:
|
|
125 if a$(permuted_index) == a cp $(srcdir)/index.unperm index.texi
|
|
126 if not a$(permuted_index) == a cp $(srcdir)/index.perm index.texi
|
|
127
|
|
128 clean:
|
|
129 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
|
|
130 *.vr *.vrs *.pg *.pgs *.ky *.kys
|
|
131 rm -f make.out core
|
|
132 rm -f index.texi
|
|
133 rm -f $(infodir)/elisp*
|
|
134
|
|
135 distclean: clean
|
|
136
|
|
137 maintainer-clean: clean
|
|
138 rm -f elisp elisp-* elisp.dvi elisp.oaux
|
52428
|
139
|
|
140 # arch-tag: da68f1c2-536d-4d41-9150-7b01434eda3f
|