Add 2012 to FSF copyright years for Emacs files (do not merge to trunk)
[bpt/emacs.git] / doc / lispref / Makefile.in
1 # Makefile for the GNU Emacs Lisp Reference Manual.
2
3 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
4 # 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
5 # Free Software Foundation, Inc.
6
7 # This file is part of GNU Emacs.
8
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.
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
20 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
21
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
29 infodir = ../../info
30 # Directory with the (customized) texinfo.tex file.
31 texinfodir = $(srcdir)/../misc
32
33 TEXI2DVI = texi2dvi
34 TEXI2PDF = texi2pdf
35 SHELL = /bin/sh
36 INSTALL_INFO = install-info
37 MAKEINFO = makeinfo --force
38
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
95
96 .PHONY: clean
97
98 # The info file is named `elisp'.
99 info: $(infodir)/elisp
100
101 $(infodir)/elisp: $(srcs)
102 cd $(srcdir); $(MAKEINFO) -I. -I$(infodir) elisp.texi -o $(infodir)/elisp
103
104 elisp.dvi: $(srcs)
105 $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $(srcdir)/elisp.texi
106
107 elisp.pdf: $(srcs)
108 $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $(srcdir)/elisp.texi
109
110 clean:
111 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
112 *.vr *.vrs *.pg *.pgs *.ky *.kys elisp[12]*
113 rm -f make.out core
114
115 distclean: clean
116
117 maintainer-clean: clean
118 rm -f elisp.dvi elisp.oaux
119 cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9]