Commit | Line | Data |
---|---|---|
bd6766d3 | 1 | # -*- Makefile -*- for the GNU Emacs Lisp Reference Manual. |
e65be2d5 | 2 | |
4e6835db | 3 | # Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
e65be2d5 JR |
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 | |
364c38d3 LK |
19 | # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 | # Boston, MA 02110-1301, USA. | |
e65be2d5 JR |
21 | |
22 | # Standard configure variables. | |
23 | srcdir = . | |
24 | ||
c5bd92c9 | 25 | infodir = $(srcdir)/../info |
2fdcceb9 | 26 | usermanualdir = $(srcdir)/../man |
e65be2d5 JR |
27 | |
28 | # Redefine `TEX' if `tex' does not invoke plain TeX. For example: | |
29 | # TEX=platex | |
30 | TEX=tex | |
31 | INSTALL_INFO = install-info | |
a19aaf80 | 32 | MAKEINFO = makeinfo --force |
e65be2d5 JR |
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 | ||
e65be2d5 JR |
42 | # List of all the texinfo files in the manual: |
43 | ||
44 | srcs = \ | |
45 | $(srcdir)/abbrevs.texi \ | |
46 | $(srcdir)/advice.texi \ | |
47 | $(srcdir)/anti.texi \ | |
48 | $(srcdir)/back.texi \ | |
49 | $(srcdir)/backups.texi \ | |
50 | $(srcdir)/buffers.texi \ | |
e65be2d5 JR |
51 | $(srcdir)/commands.texi \ |
52 | $(srcdir)/compile.texi \ | |
53 | $(srcdir)/control.texi \ | |
54 | $(srcdir)/customize.texi \ | |
55 | $(srcdir)/debugging.texi \ | |
56 | $(srcdir)/display.texi \ | |
57 | $(srcdir)/edebug.texi \ | |
58 | $(srcdir)/elisp.texi \ | |
59 | $(srcdir)/errors.texi \ | |
60 | $(srcdir)/eval.texi \ | |
61 | $(srcdir)/files.texi \ | |
62 | $(srcdir)/frames.texi \ | |
63 | $(srcdir)/functions.texi \ | |
64 | $(srcdir)/hash.texi \ | |
65 | $(srcdir)/help.texi \ | |
66 | $(srcdir)/hooks.texi \ | |
67 | $(srcdir)/internals.texi \ | |
68 | $(srcdir)/intro.texi \ | |
69 | $(srcdir)/keymaps.texi \ | |
70 | $(srcdir)/lists.texi \ | |
71 | $(srcdir)/loading.texi \ | |
72 | $(srcdir)/locals.texi \ | |
73 | $(srcdir)/macros.texi \ | |
74 | $(srcdir)/maps.texi \ | |
75 | $(srcdir)/markers.texi \ | |
76 | $(srcdir)/minibuf.texi \ | |
77 | $(srcdir)/modes.texi \ | |
78 | $(srcdir)/nonascii.texi \ | |
79 | $(srcdir)/numbers.texi \ | |
80 | $(srcdir)/objects.texi \ | |
81 | $(srcdir)/os.texi \ | |
82 | $(srcdir)/positions.texi \ | |
83 | $(srcdir)/processes.texi \ | |
84 | $(srcdir)/searching.texi \ | |
85 | $(srcdir)/sequences.texi \ | |
86 | $(srcdir)/streams.texi \ | |
87 | $(srcdir)/strings.texi \ | |
88 | $(srcdir)/symbols.texi \ | |
89 | $(srcdir)/syntax.texi \ | |
90 | $(srcdir)/text.texi \ | |
91 | $(srcdir)/tips.texi \ | |
92 | $(srcdir)/variables.texi \ | |
93 | $(srcdir)/windows.texi \ | |
9cadd46c | 94 | $(srcdir)/index.texi \ |
e65be2d5 JR |
95 | $(srcdir)/gpl.texi \ |
96 | $(srcdir)/doclicense.texi | |
97 | ||
98 | ||
99 | .PHONY: clean | |
100 | ||
101 | # The info file is named `elisp'. | |
ddd3a8bb | 102 | |
e65be2d5 | 103 | info: $(infodir)/elisp |
ddd3a8bb EZ |
104 | |
105 | $(infodir)/dir: | |
e65be2d5 JR |
106 | $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp |
107 | ||
9cadd46c | 108 | $(infodir)/elisp: $(srcs) |
c5bd92c9 | 109 | $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi |
e65be2d5 | 110 | |
9cadd46c | 111 | elisp.dvi: $(srcs) |
2fdcceb9 | 112 | $(texinputdir) $(TEX) -I $(usermanualdir) $(srcdir)/elisp.texi |
e65be2d5 | 113 | |
e65be2d5 | 114 | clean: |
5bb0fcd1 JB |
115 | - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ |
116 | *.vr *.vrs *.pg *.pgs *.ky *.kys | |
117 | - $(DEL) make.out core | |
118 | - $(DEL) $(infodir)/elisp* | |
e65be2d5 JR |
119 | |
120 | distclean: clean | |
121 | ||
c6883bfc | 122 | maintainer-clean: distclean |
d6598d46 | 123 | - $(DEL) elisp elisp-? elisp-?? elisp.dvi elisp.oaux |