Fix broken call to string-match.
[emacs.git] / doc / lispref / Makefile.in
blob888c295ea604d2da4804f9a7c0cac51cee752308
1 # Makefile for the GNU Emacs Lisp Reference Manual.
3 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
4 # 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5 # Free Software Foundation, Inc.
7 # This file is part of GNU Emacs.
9 # GNU Emacs is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
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.
19 # You should have received a copy of the GNU General Public License
20 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
23 # Standard configure variables.
24 srcdir = @srcdir@
26 # Tell make where to find source files; this is needed for the makefiles.
27 VPATH=@srcdir@
29 infodir = ../../info
30 usermanualdir = $(srcdir)/../emacs
32 TEXI2DVI = texi2dvi
33 SHELL = /bin/sh
34 INSTALL_INFO = install-info
35 MAKEINFO = makeinfo --force
37 # List of all the texinfo files in the manual:
39 srcs = \
40 $(srcdir)/abbrevs.texi \
41 $(srcdir)/advice.texi \
42 $(srcdir)/anti.texi \
43 $(srcdir)/back.texi \
44 $(srcdir)/backups.texi \
45 $(srcdir)/buffers.texi \
46 $(srcdir)/commands.texi \
47 $(srcdir)/compile.texi \
48 $(srcdir)/control.texi \
49 $(srcdir)/customize.texi \
50 $(srcdir)/debugging.texi \
51 $(srcdir)/display.texi \
52 $(srcdir)/edebug.texi \
53 $(srcdir)/elisp.texi \
54 $(srcdir)/errors.texi \
55 $(srcdir)/eval.texi \
56 $(srcdir)/files.texi \
57 $(srcdir)/frames.texi \
58 $(srcdir)/functions.texi \
59 $(srcdir)/hash.texi \
60 $(srcdir)/help.texi \
61 $(srcdir)/hooks.texi \
62 $(srcdir)/internals.texi \
63 $(srcdir)/intro.texi \
64 $(srcdir)/keymaps.texi \
65 $(srcdir)/lists.texi \
66 $(srcdir)/loading.texi \
67 $(srcdir)/locals.texi \
68 $(srcdir)/macros.texi \
69 $(srcdir)/maps.texi \
70 $(srcdir)/markers.texi \
71 $(srcdir)/minibuf.texi \
72 $(srcdir)/modes.texi \
73 $(srcdir)/nonascii.texi \
74 $(srcdir)/numbers.texi \
75 $(srcdir)/objects.texi \
76 $(srcdir)/os.texi \
77 $(srcdir)/positions.texi \
78 $(srcdir)/processes.texi \
79 $(srcdir)/searching.texi \
80 $(srcdir)/sequences.texi \
81 $(srcdir)/streams.texi \
82 $(srcdir)/strings.texi \
83 $(srcdir)/symbols.texi \
84 $(srcdir)/syntax.texi \
85 $(srcdir)/text.texi \
86 $(srcdir)/tips.texi \
87 $(srcdir)/variables.texi \
88 $(srcdir)/windows.texi \
89 $(srcdir)/index.texi \
90 $(srcdir)/gpl.texi \
91 $(srcdir)/doclicense.texi
94 .PHONY: clean
96 # The info file is named `elisp'.
97 info: $(infodir)/elisp
99 $(infodir)/elisp: $(srcs)
100 cd $(srcdir); $(MAKEINFO) -I. -I$(infodir) elisp.texi -o $(infodir)/elisp
102 elisp.dvi: $(srcs)
103 $(TEXI2DVI) -I $(srcdir) -I $(usermanualdir) $(srcdir)/elisp.texi
105 clean:
106 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
107 *.vr *.vrs *.pg *.pgs *.ky *.kys
108 rm -f make.out core
110 distclean: clean
112 maintainer-clean: clean
113 rm -f elisp.dvi elisp.oaux
114 cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9]