]> code.delx.au - gnu-emacs/blob - lispref/makefile.w32-in
(global-auto-revert-non-file-buffers): Point Info links to the main manual,
[gnu-emacs] / lispref / makefile.w32-in
1 # -*- Makefile -*- for the GNU Emacs Lisp Reference Manual.
2
3 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4
5 # This file is part of GNU Emacs.
6
7 # GNU Emacs is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11
12 # GNU Emacs is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with GNU Emacs; see the file COPYING. If not, write to
19 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 # Boston, MA 02110-1301, USA.
21
22 # Standard configure variables.
23 srcdir = .
24
25 infodir = $(srcdir)/../info
26
27 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
28 # TEX=platex
29 TEX=tex
30 INSTALL_INFO = install-info
31 MAKEINFO = makeinfo --force
32
33 # The environment variable and its value to add $(srcdir) to the path
34 # searched for TeX input files.
35 texinputdir = $(srcdir)\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" /C
36
37 # The name of the manual:
38 VERSION=2.9
39 manual = elisp-manual-21-$(VERSION)
40
41 # List of all the texinfo files in the manual:
42
43 srcs = \
44 $(srcdir)/abbrevs.texi \
45 $(srcdir)/advice.texi \
46 $(srcdir)/anti.texi \
47 $(srcdir)/back.texi \
48 $(srcdir)/backups.texi \
49 $(srcdir)/buffers.texi \
50 $(srcdir)/commands.texi \
51 $(srcdir)/compile.texi \
52 $(srcdir)/control.texi \
53 $(srcdir)/customize.texi \
54 $(srcdir)/debugging.texi \
55 $(srcdir)/display.texi \
56 $(srcdir)/edebug.texi \
57 $(srcdir)/elisp.texi \
58 $(srcdir)/errors.texi \
59 $(srcdir)/eval.texi \
60 $(srcdir)/files.texi \
61 $(srcdir)/frames.texi \
62 $(srcdir)/functions.texi \
63 $(srcdir)/hash.texi \
64 $(srcdir)/help.texi \
65 $(srcdir)/hooks.texi \
66 $(srcdir)/internals.texi \
67 $(srcdir)/intro.texi \
68 $(srcdir)/keymaps.texi \
69 $(srcdir)/lists.texi \
70 $(srcdir)/loading.texi \
71 $(srcdir)/locals.texi \
72 $(srcdir)/macros.texi \
73 $(srcdir)/maps.texi \
74 $(srcdir)/markers.texi \
75 $(srcdir)/minibuf.texi \
76 $(srcdir)/modes.texi \
77 $(srcdir)/nonascii.texi \
78 $(srcdir)/numbers.texi \
79 $(srcdir)/objects.texi \
80 $(srcdir)/os.texi \
81 $(srcdir)/positions.texi \
82 $(srcdir)/processes.texi \
83 $(srcdir)/searching.texi \
84 $(srcdir)/sequences.texi \
85 $(srcdir)/streams.texi \
86 $(srcdir)/strings.texi \
87 $(srcdir)/symbols.texi \
88 $(srcdir)/syntax.texi \
89 $(srcdir)/text.texi \
90 $(srcdir)/tips.texi \
91 $(srcdir)/variables.texi \
92 $(srcdir)/windows.texi \
93 $(srcdir)/index.texi \
94 $(srcdir)/gpl.texi \
95 $(srcdir)/doclicense.texi
96
97
98 .PHONY: clean
99
100 # The info file is named `elisp'.
101
102 info: $(infodir)/elisp
103
104 $(infodir)/dir:
105 $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
106
107 $(infodir)/elisp: $(srcs)
108 $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi
109
110 elisp.dvi: $(srcs)
111 $(texinputdir) $(TEX) $(srcdir)/elisp.texi
112
113 clean:
114 - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
115 *.vr *.vrs *.pg *.pgs *.ky *.kys
116 - $(DEL) make.out core
117 - $(DEL) $(infodir)/elisp*
118
119 distclean: clean
120
121 maintainer-clean: clean
122 - $(DEL) elisp elisp-* elisp.dvi elisp.oaux