(python-block-pairs): Align finally with except.
[emacs.git] / doc / lispref / Makefile.in
blob04464c5c6804b5564bf300128303dc3e53aed966
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
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, or (at your option)
12 # 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; see the file COPYING. If not, write to
21 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 # Boston, MA 02110-1301, USA.
24 # Standard configure variables.
25 srcdir = @srcdir@
27 # Tell make where to find source files; this is needed for the makefiles.
28 VPATH=@srcdir@
30 infodir = ../../info
31 usermanualdir = $(srcdir)/../emacs
32 miscmanualdir = $(srcdir)/../misc
34 TEXI2DVI = texi2dvi
35 SHELL = /bin/sh
36 INSTALL_INFO = install-info
37 MAKEINFO = makeinfo --force
39 # The name of the manual:
40 VERSION=2.9
41 manual = elisp-manual-21-$(VERSION)
43 # List of all the texinfo files in the manual:
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
100 .PHONY: clean
102 # The info file is named `elisp'.
103 info: $(infodir)/elisp
105 $(infodir)/elisp: $(srcs)
106 cd $(srcdir); $(MAKEINFO) -I. -I$(infodir) elisp.texi -o $(infodir)/elisp
108 elisp.dvi: $(srcs)
109 $(TEXI2DVI) -I $(srcdir) -I $(usermanualdir) $(srcdir)/elisp.texi
111 # This is for use in a separate distro of the Emacs Lisp manual.
112 install: elisp
113 $(srcdir)/mkinstalldirs $(infodir)
114 cp elisp elisp-[1-9] elisp-[1-9][0-9] $(infodir)
115 ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp
117 # This is for use in a separate distro of the Emacs Lisp manual.
118 elisp: $(srcs)
119 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi
121 clean:
122 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
123 *.vr *.vrs *.pg *.pgs *.ky *.kys
124 rm -f make.out core
126 distclean: clean
128 maintainer-clean: clean
129 rm -f elisp.dvi elisp.oaux
130 cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
132 dist: $(infodir)/elisp elisp.dvi
133 -rm -rf temp
134 -mkdir temp
135 -mkdir temp/$(manual)
136 -ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \
137 $(srcdir)/Makefile.in $(srcs) \
138 $(miscmanualdir)/texinfo.tex \
139 elisp.dvi elisp.aux elisp.??s \
140 $(infodir)/elisp $(infodir)/elisp-[1-9] $(infodir)/elisp-[1-9][0-9] \
141 temp/$(manual)
142 -(cd temp/$(manual); rm -f mkinstalldirs)
143 cp $(srcdir)/mkinstalldirs temp/$(manual)
144 (cd temp/$(manual); rm -f *~)
145 (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz
146 -rm -rf temp