sieve-manage.el: Add authenticate function.
[bpt/emacs.git] / doc / lispref / Makefile.in
CommitLineData
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
4c83f6e1 22SHELL = /bin/sh
b8d4c8d0
GM
23
24# Standard configure variables.
25srcdir = @srcdir@
26
27# Tell make where to find source files; this is needed for the makefiles.
28VPATH=@srcdir@
29
d374a422 30infodir = ../../info
aa514a98
GM
31# Directory with the (customized) texinfo.tex file.
32texinfodir = $(srcdir)/../misc
b8d4c8d0 33
4c83f6e1 34MAKEINFO = makeinfo --force
b8d4c8d0 35TEXI2DVI = texi2dvi
64fbeb16 36TEXI2PDF = texi2pdf
b8d4c8d0 37
b8d4c8d0
GM
38# List of all the texinfo files in the manual:
39
40srcs = \
41 $(srcdir)/abbrevs.texi \
42 $(srcdir)/advice.texi \
43 $(srcdir)/anti.texi \
44 $(srcdir)/back.texi \
45 $(srcdir)/backups.texi \
46 $(srcdir)/buffers.texi \
47 $(srcdir)/commands.texi \
48 $(srcdir)/compile.texi \
49 $(srcdir)/control.texi \
50 $(srcdir)/customize.texi \
51 $(srcdir)/debugging.texi \
52 $(srcdir)/display.texi \
53 $(srcdir)/edebug.texi \
54 $(srcdir)/elisp.texi \
55 $(srcdir)/errors.texi \
56 $(srcdir)/eval.texi \
57 $(srcdir)/files.texi \
58 $(srcdir)/frames.texi \
59 $(srcdir)/functions.texi \
60 $(srcdir)/hash.texi \
61 $(srcdir)/help.texi \
62 $(srcdir)/hooks.texi \
63 $(srcdir)/internals.texi \
64 $(srcdir)/intro.texi \
65 $(srcdir)/keymaps.texi \
66 $(srcdir)/lists.texi \
67 $(srcdir)/loading.texi \
68 $(srcdir)/locals.texi \
69 $(srcdir)/macros.texi \
70 $(srcdir)/maps.texi \
71 $(srcdir)/markers.texi \
72 $(srcdir)/minibuf.texi \
73 $(srcdir)/modes.texi \
74 $(srcdir)/nonascii.texi \
75 $(srcdir)/numbers.texi \
76 $(srcdir)/objects.texi \
77 $(srcdir)/os.texi \
78 $(srcdir)/positions.texi \
79 $(srcdir)/processes.texi \
80 $(srcdir)/searching.texi \
81 $(srcdir)/sequences.texi \
82 $(srcdir)/streams.texi \
83 $(srcdir)/strings.texi \
84 $(srcdir)/symbols.texi \
85 $(srcdir)/syntax.texi \
86 $(srcdir)/text.texi \
87 $(srcdir)/tips.texi \
88 $(srcdir)/variables.texi \
89 $(srcdir)/windows.texi \
90 $(srcdir)/index.texi \
91 $(srcdir)/gpl.texi \
92 $(srcdir)/doclicense.texi
93
b8d4c8d0
GM
94# The info file is named `elisp'.
95info: $(infodir)/elisp
0264072d
GM
96dvi: elisp.dvi
97pdf: elisp.pdf
98
99$(infodir):
8a944cea 100 mkdir $@ || test -d $@
b8d4c8d0 101
0264072d 102$(infodir)/elisp: $(infodir) $(srcs)
8cce34d0 103 cd $(srcdir); $(MAKEINFO) -I. -I$(texinfodir) elisp.texi -o $@
b8d4c8d0
GM
104
105elisp.dvi: $(srcs)
aa514a98 106 $(TEXI2DVI) -I $(srcdir) -I $(texinfodir) $(srcdir)/elisp.texi
b8d4c8d0 107
64fbeb16
GM
108elisp.pdf: $(srcs)
109 $(TEXI2PDF) -I $(srcdir) -I $(texinfodir) $(srcdir)/elisp.texi
110
4c83f6e1
GM
111.PHONY: mostlyclean clean distclean maintainer-clean infoclean
112
113## [12] stuff is from two-volume.make.
114mostlyclean:
115 rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
116 *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
117 rm -f elisp[12]*
0264072d 118
4c83f6e1
GM
119clean: mostlyclean
120 rm -f elisp.dvi elisp.pdf vol[12].pdf
b8d4c8d0
GM
121
122distclean: clean
123
4c83f6e1 124infoclean:
0264072d
GM
125 -cd $(infodir) && rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
126
4c83f6e1
GM
127maintainer-clean: distclean infoclean
128
129## Note this excludes the two-volume stuff.
130dist:
131 rm -rf lispref
132 mkdir lispref
133 cp ${srcdir}/*.texi ${texinfodir}/texinfo.tex \
134 ${srcdir}/ChangeLog* ${srcdir}/README lispref/
135 sed -e 's/@sr[c]dir@/./' -e 's/\(texinfodir *=\).*/\1 ./' \
136 -e 's/\(infodir *=\).*/\1 ./' -e 's/^\(clean:.*\)/\1 infoclean/' \
137 ${srcdir}/Makefile.in > lispref/Makefile
138 tar -cf elisp-texi.tar lispref
139 rm -rf lispref
140
0264072d 141### Makefile ends here