Mercurial > emacs
annotate lispref/Makefile.in @ 61418:02c939955b7a
(Vloads_in_progress): Not static.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 10 Apr 2005 00:28:37 +0000 |
parents | 51c73785810d |
children | f810bd3a6217 4da4a09e8b1b |
rev | line source |
---|---|
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
1 # Makefile for the GNU Emacs Lisp Reference Manual. |
40877 | 2 |
56026
bb6720f21c54
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Miles Bader <miles@gnu.org>
parents:
52919
diff
changeset
|
3 # Copyright (C) 1990,1991,1992,1993,1994,1995,1996,1998,1999,2000,2001,2003,2004 |
40877 | 4 # Free Software Foundation, Inc. |
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 | |
20 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
21 # Boston, MA 02111-1307, USA. | |
6558 | 22 |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
23 # Standard configure variables. |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
24 srcdir = @srcdir@ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
25 |
40877 | 26 # Tell make where to find source files; this is needed for the makefiles. |
27 VPATH=@srcdir@ | |
28 | |
41116
be613f250f60
(infodir): Define relative to $(srcdir).
Eli Zaretskii <eliz@gnu.org>
parents:
40896
diff
changeset
|
29 infodir = $(srcdir)/../info |
40877 | 30 |
52915
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
31 TEXI2DVI = texi2dvi |
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
32 SHELL = /bin/sh |
22456
b7bf9b05f494
(INSTALL_INFO): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
22014
diff
changeset
|
33 INSTALL_INFO = install-info |
59151
d6abda0a027b
(MAKEINFO): Specify --force.
Richard M. Stallman <rms@gnu.org>
parents:
58786
diff
changeset
|
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
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
42 srcs = \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
43 $(srcdir)/abbrevs.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
44 $(srcdir)/advice.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
45 $(srcdir)/anti.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
46 $(srcdir)/back.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
47 $(srcdir)/backups.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
48 $(srcdir)/buffers.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
49 $(srcdir)/commands.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
50 $(srcdir)/compile.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
51 $(srcdir)/control.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
52 $(srcdir)/customize.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
53 $(srcdir)/debugging.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
54 $(srcdir)/display.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
55 $(srcdir)/edebug.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
56 $(srcdir)/elisp.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
57 $(srcdir)/errors.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
58 $(srcdir)/eval.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
59 $(srcdir)/files.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
60 $(srcdir)/frames.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
61 $(srcdir)/functions.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
62 $(srcdir)/hash.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
63 $(srcdir)/help.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
64 $(srcdir)/hooks.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
65 $(srcdir)/internals.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
66 $(srcdir)/intro.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
67 $(srcdir)/keymaps.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
68 $(srcdir)/lists.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
69 $(srcdir)/loading.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
70 $(srcdir)/locals.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
71 $(srcdir)/macros.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
72 $(srcdir)/maps.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
73 $(srcdir)/markers.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
74 $(srcdir)/minibuf.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
75 $(srcdir)/modes.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
76 $(srcdir)/nonascii.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
77 $(srcdir)/numbers.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
78 $(srcdir)/objects.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
79 $(srcdir)/os.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
80 $(srcdir)/positions.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
81 $(srcdir)/processes.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
82 $(srcdir)/searching.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
83 $(srcdir)/sequences.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
84 $(srcdir)/streams.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
85 $(srcdir)/strings.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
86 $(srcdir)/symbols.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
87 $(srcdir)/syntax.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
88 $(srcdir)/text.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
89 $(srcdir)/tips.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
90 $(srcdir)/variables.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
91 $(srcdir)/windows.texi \ |
52915
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
92 $(srcdir)/index.texi \ |
40228
afee33bfd42a
(srcs): Add gpl.texi and doclicense.texi.
Gerd Moellmann <gerd@gnu.org>
parents:
39992
diff
changeset
|
93 $(srcdir)/gpl.texi \ |
afee33bfd42a
(srcs): Add gpl.texi and doclicense.texi.
Gerd Moellmann <gerd@gnu.org>
parents:
39992
diff
changeset
|
94 $(srcdir)/doclicense.texi |
afee33bfd42a
(srcs): Add gpl.texi and doclicense.texi.
Gerd Moellmann <gerd@gnu.org>
parents:
39992
diff
changeset
|
95 |
6558 | 96 |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
97 .PHONY: clean |
6558 | 98 |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
99 # The info file is named `elisp'. |
40884 | 100 info: $(infodir)/elisp |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
101 |
52915
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
102 $(infodir)/elisp: $(srcs) |
41116
be613f250f60
(infodir): Define relative to $(srcdir).
Eli Zaretskii <eliz@gnu.org>
parents:
40896
diff
changeset
|
103 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi -o $(infodir)/elisp |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
104 |
52915
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
105 elisp.dvi: $(srcs) |
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
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
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
109 install: elisp |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
110 $(srcdir)/mkinstalldirs $(infodir) |
57983
d6c27439fe41
(install, maintainer-clean): Don't use "elisp-*" as it nukes elisp-cover.texi.
Eli Zaretskii <eliz@gnu.org>
parents:
56026
diff
changeset
|
111 cp elisp elisp-[1-9] elisp-[1-9][0-9] $(infodir) |
37605
362fea0e7c8b
(install): Use install-info command line options
Gerd Moellmann <gerd@gnu.org>
parents:
26694
diff
changeset
|
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
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
42824
diff
changeset
|
121 rm -f make.out core |
6558 | 122 |
40896 | 123 distclean: clean |
124 | |
12317
6236bdeec18d
(VERSION): Update version number.
Richard M. Stallman <rms@gnu.org>
parents:
12112
diff
changeset
|
125 maintainer-clean: clean |
58786
bb0ccdf15685
(maintainer-clean): Remove the info files in $(infodir) where they are created.
Richard M. Stallman <rms@gnu.org>
parents:
58366
diff
changeset
|
126 rm -f elisp.dvi elisp.oaux |
bb0ccdf15685
(maintainer-clean): Remove the info files in $(infodir) where they are created.
Richard M. Stallman <rms@gnu.org>
parents:
58366
diff
changeset
|
127 cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9] |
12112 | 128 |
58366 | 129 dist: $(infodir)/elisp elisp.dvi |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
130 -rm -rf temp |
6558 | 131 -mkdir temp |
132 -mkdir temp/$(manual) | |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
133 -ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \ |
52915
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
134 $(srcdir)/Makefile.in $(srcs) \ |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
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
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
139 -(cd temp/$(manual); rm -f mkinstalldirs) |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
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 |