39111
|
1 # Makefile for the GNU Emacs Lisp Reference Manual.
|
40877
|
2
|
64889
|
3 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
|
68648
|
4 # 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
40877
|
5
|
|
6 # This file is part of GNU Emacs.
|
|
7
|
|
8 # GNU Emacs is free software; you can redistribute it and/or modify
|
|
9 # it under the terms of the GNU General Public License as published by
|
|
10 # the Free Software Foundation; either version 2, or (at your option)
|
|
11 # any later version.
|
|
12
|
|
13 # GNU Emacs is distributed in the hope that it will be useful,
|
|
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16 # GNU General Public License for more details.
|
|
17
|
|
18 # You should have received a copy of the GNU General Public License
|
|
19 # along with GNU Emacs; see the file COPYING. If not, write to
|
64083
|
20 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
21 # Boston, MA 02110-1301, USA.
|
6558
|
22
|
39111
|
23 # Standard configure variables.
|
|
24 srcdir = @srcdir@
|
|
25
|
40877
|
26 # Tell make where to find source files; this is needed for the makefiles.
|
|
27 VPATH=@srcdir@
|
|
28
|
41116
|
29 infodir = $(srcdir)/../info
|
40877
|
30
|
52915
|
31 TEXI2DVI = texi2dvi
|
|
32 SHELL = /bin/sh
|
22456
|
33 INSTALL_INFO = install-info
|
59151
|
34 MAKEINFO = makeinfo --force
|
6558
|
35
|
|
36 # The name of the manual:
|
42824
|
37 VERSION=2.9
|
39992
|
38 manual = elisp-manual-21-$(VERSION)
|
6558
|
39
|
|
40 # List of all the texinfo files in the manual:
|
|
41
|
39111
|
42 srcs = \
|
|
43 $(srcdir)/abbrevs.texi \
|
|
44 $(srcdir)/advice.texi \
|
|
45 $(srcdir)/anti.texi \
|
|
46 $(srcdir)/back.texi \
|
|
47 $(srcdir)/backups.texi \
|
|
48 $(srcdir)/buffers.texi \
|
|
49 $(srcdir)/commands.texi \
|
|
50 $(srcdir)/compile.texi \
|
|
51 $(srcdir)/control.texi \
|
|
52 $(srcdir)/customize.texi \
|
|
53 $(srcdir)/debugging.texi \
|
|
54 $(srcdir)/display.texi \
|
|
55 $(srcdir)/edebug.texi \
|
|
56 $(srcdir)/elisp.texi \
|
|
57 $(srcdir)/errors.texi \
|
|
58 $(srcdir)/eval.texi \
|
|
59 $(srcdir)/files.texi \
|
|
60 $(srcdir)/frames.texi \
|
|
61 $(srcdir)/functions.texi \
|
|
62 $(srcdir)/hash.texi \
|
|
63 $(srcdir)/help.texi \
|
|
64 $(srcdir)/hooks.texi \
|
|
65 $(srcdir)/internals.texi \
|
|
66 $(srcdir)/intro.texi \
|
|
67 $(srcdir)/keymaps.texi \
|
|
68 $(srcdir)/lists.texi \
|
|
69 $(srcdir)/loading.texi \
|
|
70 $(srcdir)/locals.texi \
|
|
71 $(srcdir)/macros.texi \
|
|
72 $(srcdir)/maps.texi \
|
|
73 $(srcdir)/markers.texi \
|
|
74 $(srcdir)/minibuf.texi \
|
|
75 $(srcdir)/modes.texi \
|
|
76 $(srcdir)/nonascii.texi \
|
|
77 $(srcdir)/numbers.texi \
|
|
78 $(srcdir)/objects.texi \
|
|
79 $(srcdir)/os.texi \
|
|
80 $(srcdir)/positions.texi \
|
|
81 $(srcdir)/processes.texi \
|
|
82 $(srcdir)/searching.texi \
|
|
83 $(srcdir)/sequences.texi \
|
|
84 $(srcdir)/streams.texi \
|
|
85 $(srcdir)/strings.texi \
|
|
86 $(srcdir)/symbols.texi \
|
|
87 $(srcdir)/syntax.texi \
|
|
88 $(srcdir)/text.texi \
|
|
89 $(srcdir)/tips.texi \
|
|
90 $(srcdir)/variables.texi \
|
|
91 $(srcdir)/windows.texi \
|
52915
|
92 $(srcdir)/index.texi \
|
40228
|
93 $(srcdir)/gpl.texi \
|
|
94 $(srcdir)/doclicense.texi
|
|
95
|
6558
|
96
|
39111
|
97 .PHONY: clean
|
6558
|
98
|
14936
|
99 # The info file is named `elisp'.
|
40884
|
100 info: $(infodir)/elisp
|
14936
|
101
|
52915
|
102 $(infodir)/elisp: $(srcs)
|
41116
|
103 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi -o $(infodir)/elisp
|
14936
|
104
|
52915
|
105 elisp.dvi: $(srcs)
|
|
106 $(TEXI2DVI) -I $(srcdir) $(srcdir)/elisp.texi
|
6558
|
107
|
58366
|
108 # This is for use in a separate distro of the Emacs Lisp manual.
|
14936
|
109 install: elisp
|
39111
|
110 $(srcdir)/mkinstalldirs $(infodir)
|
57983
d6c27439fe41
(install, maintainer-clean): Don't use "elisp-*" as it nukes elisp-cover.texi.
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
111 cp elisp elisp-[1-9] elisp-[1-9][0-9] $(infodir)
|
37605
|
112 ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp
|
6558
|
113
|
58366
|
114 # This is for use in a separate distro of the Emacs Lisp manual.
|
|
115 elisp: $(srcs)
|
|
116 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi
|
|
117
|
6558
|
118 clean:
|
|
119 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
|
|
120 *.vr *.vrs *.pg *.pgs *.ky *.kys
|
49600
|
121 rm -f make.out core
|
6558
|
122
|
40896
|
123 distclean: clean
|
|
124
|
12317
|
125 maintainer-clean: clean
|
58786
bb0ccdf15685
(maintainer-clean): Remove the info files in $(infodir) where they are created.
Richard M. Stallman <rms@gnu.org>
diff
changeset
|
126 rm -f elisp.dvi elisp.oaux
|
63204
|
127 cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9]
|
12112
|
128
|
58366
|
129 dist: $(infodir)/elisp elisp.dvi
|
21644
|
130 -rm -rf temp
|
6558
|
131 -mkdir temp
|
|
132 -mkdir temp/$(manual)
|
39111
|
133 -ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \
|
52915
|
134 $(srcdir)/Makefile.in $(srcs) \
|
39111
|
135 $(srcdir)/../man/texinfo.tex \
|
58366
|
136 elisp.dvi elisp.aux elisp.??s \
|
|
137 $(infodir)/elisp $(infodir)/elisp-[1-9] $(infodir)/elisp-[1-9][0-9] \
|
23150
|
138 temp/$(manual)
|
21644
|
139 -(cd temp/$(manual); rm -f mkinstalldirs)
|
39111
|
140 cp $(srcdir)/mkinstalldirs temp/$(manual)
|
6558
|
141 (cd temp/$(manual); rm -f *~)
|
|
142 (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz
|
|
143 -rm -rf temp
|