Commit | Line | Data |
---|---|---|
b8d4c8d0 GM |
1 | # -*- Makefile -*- for the GNU Emacs Lisp Reference Manual. |
2 | ||
114f9c96 | 3 | # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
57ebf0be | 4 | # Free Software Foundation, Inc. |
b8d4c8d0 GM |
5 | |
6 | # This file is part of GNU Emacs. | |
7 | ||
352c8b4a | 8 | # GNU Emacs is free software: you can redistribute it and/or modify |
b8d4c8d0 | 9 | # it under the terms of the GNU General Public License as published by |
352c8b4a GM |
10 | # the Free Software Foundation, either version 3 of the License, or |
11 | # (at your option) any later version. | |
b8d4c8d0 GM |
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 | |
352c8b4a GM |
19 | # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
20 | ||
b8d4c8d0 GM |
21 | |
22 | # Standard configure variables. | |
23 | srcdir = . | |
24 | ||
df43c5b7 GM |
25 | infodir = $(srcdir)/../../info |
26 | usermanualdir = $(srcdir)/../emacs | |
b8d4c8d0 GM |
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 --force | |
33 | ||
34 | # The environment variable and its value to add $(srcdir) to the path | |
35 | # searched for TeX input files. | |
df43c5b7 | 36 | texinputdir = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" /C |
b8d4c8d0 GM |
37 | |
38 | # The name of the manual: | |
39 | VERSION=2.9 | |
a7bed3a0 GM |
40 | ## FIXME can this be set by configure, as per Makefile.in? |
41 | manual = elisp-manual-23-$(VERSION) | |
b8d4c8d0 GM |
42 | |
43 | # List of all the texinfo files in the manual: | |
44 | ||
45 | srcs = \ | |
46 | $(srcdir)/abbrevs.texi \ | |
47 | $(srcdir)/advice.texi \ | |
48 | $(srcdir)/anti.texi \ | |
49 | $(srcdir)/back.texi \ | |
50 | $(srcdir)/backups.texi \ | |
51 | $(srcdir)/buffers.texi \ | |
52 | $(srcdir)/commands.texi \ | |
53 | $(srcdir)/compile.texi \ | |
54 | $(srcdir)/control.texi \ | |
55 | $(srcdir)/customize.texi \ | |
56 | $(srcdir)/debugging.texi \ | |
57 | $(srcdir)/display.texi \ | |
58 | $(srcdir)/edebug.texi \ | |
59 | $(srcdir)/elisp.texi \ | |
60 | $(srcdir)/errors.texi \ | |
61 | $(srcdir)/eval.texi \ | |
62 | $(srcdir)/files.texi \ | |
63 | $(srcdir)/frames.texi \ | |
64 | $(srcdir)/functions.texi \ | |
65 | $(srcdir)/hash.texi \ | |
66 | $(srcdir)/help.texi \ | |
67 | $(srcdir)/hooks.texi \ | |
68 | $(srcdir)/internals.texi \ | |
69 | $(srcdir)/intro.texi \ | |
70 | $(srcdir)/keymaps.texi \ | |
71 | $(srcdir)/lists.texi \ | |
72 | $(srcdir)/loading.texi \ | |
73 | $(srcdir)/locals.texi \ | |
74 | $(srcdir)/macros.texi \ | |
75 | $(srcdir)/maps.texi \ | |
76 | $(srcdir)/markers.texi \ | |
77 | $(srcdir)/minibuf.texi \ | |
78 | $(srcdir)/modes.texi \ | |
79 | $(srcdir)/nonascii.texi \ | |
80 | $(srcdir)/numbers.texi \ | |
81 | $(srcdir)/objects.texi \ | |
82 | $(srcdir)/os.texi \ | |
83 | $(srcdir)/positions.texi \ | |
84 | $(srcdir)/processes.texi \ | |
85 | $(srcdir)/searching.texi \ | |
86 | $(srcdir)/sequences.texi \ | |
87 | $(srcdir)/streams.texi \ | |
88 | $(srcdir)/strings.texi \ | |
89 | $(srcdir)/symbols.texi \ | |
90 | $(srcdir)/syntax.texi \ | |
91 | $(srcdir)/text.texi \ | |
92 | $(srcdir)/tips.texi \ | |
93 | $(srcdir)/variables.texi \ | |
94 | $(srcdir)/windows.texi \ | |
95 | $(srcdir)/index.texi \ | |
96 | $(srcdir)/gpl.texi \ | |
97 | $(srcdir)/doclicense.texi | |
98 | ||
99 | ||
100 | .PHONY: clean | |
101 | ||
102 | # The info file is named `elisp'. | |
103 | ||
f272c0fd | 104 | info: $(infodir)/elisp |
b8d4c8d0 | 105 | |
f272c0fd | 106 | $(infodir)/dir: |
b8d4c8d0 GM |
107 | $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp |
108 | ||
109 | $(infodir)/elisp: $(srcs) | |
110 | $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi | |
111 | ||
112 | elisp.dvi: $(srcs) | |
113 | $(texinputdir) $(TEX) -I $(usermanualdir) $(srcdir)/elisp.texi | |
114 | ||
115 | clean: | |
116 | - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | |
117 | *.vr *.vrs *.pg *.pgs *.ky *.kys | |
118 | - $(DEL) make.out core | |
119 | - $(DEL) $(infodir)/elisp* | |
120 | ||
121 | distclean: clean | |
6d52677d | 122 | - $(DEL) makefile |
b8d4c8d0 GM |
123 | |
124 | maintainer-clean: distclean | |
125 | - $(DEL) elisp elisp-? elisp-?? elisp.dvi elisp.oaux |