Commit | Line | Data |
---|---|---|
b8d4c8d0 GM |
1 | # Makefile for the GNU Emacs Lisp Reference Manual. |
2 | ||
3 | # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, | |
114f9c96 | 4 | # 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
57ebf0be | 5 | # Free Software Foundation, Inc. |
b8d4c8d0 GM |
6 | |
7 | # This file is part of GNU Emacs. | |
8 | ||
352c8b4a | 9 | # GNU Emacs is free software: you can redistribute it and/or modify |
b8d4c8d0 | 10 | # it under the terms of the GNU General Public License as published by |
352c8b4a GM |
11 | # the Free Software Foundation, either version 3 of the License, or |
12 | # (at your option) any later version. | |
b8d4c8d0 GM |
13 | |
14 | # GNU Emacs is distributed in the hope that it will be useful, | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | # GNU General Public License for more details. | |
18 | ||
19 | # You should have received a copy of the GNU General Public License | |
352c8b4a GM |
20 | # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
21 | ||
b8d4c8d0 GM |
22 | |
23 | # Standard configure variables. | |
24 | srcdir = @srcdir@ | |
25 | ||
26 | # Tell make where to find source files; this is needed for the makefiles. | |
27 | VPATH=@srcdir@ | |
28 | ||
d374a422 | 29 | infodir = ../../info |
aa514a98 GM |
30 | # Directory with the (customized) texinfo.tex file. |
31 | texinfodir = $(srcdir)/../misc | |
b8d4c8d0 GM |
32 | |
33 | TEXI2DVI = texi2dvi | |
64fbeb16 | 34 | TEXI2PDF = texi2pdf |
b8d4c8d0 GM |
35 | SHELL = /bin/sh |
36 | INSTALL_INFO = install-info | |
37 | MAKEINFO = makeinfo --force | |
38 | ||
b8d4c8d0 GM |
39 | # List of all the texinfo files in the manual: |
40 | ||
41 | srcs = \ | |
42 | $(srcdir)/abbrevs.texi \ | |
43 | $(srcdir)/advice.texi \ | |
44 | $(srcdir)/anti.texi \ | |
45 | $(srcdir)/back.texi \ | |
46 | $(srcdir)/backups.texi \ | |
47 | $(srcdir)/buffers.texi \ | |
48 | $(srcdir)/commands.texi \ | |
49 | $(srcdir)/compile.texi \ | |
50 | $(srcdir)/control.texi \ | |
51 | $(srcdir)/customize.texi \ | |
52 | $(srcdir)/debugging.texi \ | |
53 | $(srcdir)/display.texi \ | |
54 | $(srcdir)/edebug.texi \ | |
55 | $(srcdir)/elisp.texi \ | |
56 | $(srcdir)/errors.texi \ | |
57 | $(srcdir)/eval.texi \ | |
58 | $(srcdir)/files.texi \ | |
59 | $(srcdir)/frames.texi \ | |
60 | $(srcdir)/functions.texi \ | |
61 | $(srcdir)/hash.texi \ | |
62 | $(srcdir)/help.texi \ | |
63 | $(srcdir)/hooks.texi \ | |
64 | $(srcdir)/internals.texi \ | |
65 | $(srcdir)/intro.texi \ | |
66 | $(srcdir)/keymaps.texi \ | |
67 | $(srcdir)/lists.texi \ | |
68 | $(srcdir)/loading.texi \ | |
69 | $(srcdir)/locals.texi \ | |
70 | $(srcdir)/macros.texi \ | |
71 | $(srcdir)/maps.texi \ | |
72 | $(srcdir)/markers.texi \ | |
73 | $(srcdir)/minibuf.texi \ | |
74 | $(srcdir)/modes.texi \ | |
75 | $(srcdir)/nonascii.texi \ | |
76 | $(srcdir)/numbers.texi \ | |
77 | $(srcdir)/objects.texi \ | |
78 | $(srcdir)/os.texi \ | |
79 | $(srcdir)/positions.texi \ | |
80 | $(srcdir)/processes.texi \ | |
81 | $(srcdir)/searching.texi \ | |
82 | $(srcdir)/sequences.texi \ | |
83 | $(srcdir)/streams.texi \ | |
84 | $(srcdir)/strings.texi \ | |
85 | $(srcdir)/symbols.texi \ | |
86 | $(srcdir)/syntax.texi \ | |
87 | $(srcdir)/text.texi \ | |
88 | $(srcdir)/tips.texi \ | |
89 | $(srcdir)/variables.texi \ | |
90 | $(srcdir)/windows.texi \ | |
91 | $(srcdir)/index.texi \ | |
92 | $(srcdir)/gpl.texi \ | |
93 | $(srcdir)/doclicense.texi | |
94 | ||
b8d4c8d0 GM |
95 | # The info file is named `elisp'. |
96 | info: $(infodir)/elisp | |
0264072d GM |
97 | dvi: elisp.dvi |
98 | pdf: elisp.pdf | |
99 | ||
100 | $(infodir): | |
101 | mkdir $@ | |
b8d4c8d0 | 102 | |
0264072d | 103 | $(infodir)/elisp: $(infodir) $(srcs) |
8cce34d0 | 104 | cd $(srcdir); $(MAKEINFO) -I. -I$(texinfodir) elisp.texi -o $@ |
b8d4c8d0 GM |
105 | |
106 | elisp.dvi: $(srcs) | |
aa514a98 | 107 | $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $(srcdir)/elisp.texi |
b8d4c8d0 | 108 | |
64fbeb16 GM |
109 | elisp.pdf: $(srcs) |
110 | $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $(srcdir)/elisp.texi | |
111 | ||
0264072d GM |
112 | .PHONY: clean distclean maintainer-clean |
113 | ||
b8d4c8d0 GM |
114 | clean: |
115 | rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | |
aa514a98 | 116 | *.vr *.vrs *.pg *.pgs *.ky *.kys elisp[12]* |
b8d4c8d0 GM |
117 | |
118 | distclean: clean | |
119 | ||
120 | maintainer-clean: clean | |
0264072d GM |
121 | rm -f elisp.dvi elisp.pdf elisp.oaux |
122 | -cd $(infodir) && rm -f elisp elisp-[1-9] elisp-[1-9][0-9] | |
123 | ||
124 | ### Makefile ends here |