Mercurial > emacs
annotate lispref/Makefile.in @ 78240:450fa81c5930
Switch license to GPLv3 or later.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 25 Jul 2007 04:50:50 +0000 |
parents | 3d45362f1d38 |
children | 63591152f3cb 95d0cdf160ea |
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 |
64889
e836425ee789
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64083
diff
changeset
|
3 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, |
75348 | 4 # 2001, 2002, 2003, 2004, 2005, 2006, 2007 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
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 | |
73536
baed64986af0
* Makefile.in: Use relative paths to avoid advertising filesystem
Chong Yidong <cyd@stupidchicken.com>
parents:
72467
diff
changeset
|
29 infodir = ../info |
72467
2a92d47ee7d5
Use ../man/texinfo.tex to build elisp.dvi.
Lute Kamstra <lute@gnu.org>
parents:
68648
diff
changeset
|
30 usermanualdir = $(srcdir)/../man |
40877 | 31 |
52915
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
32 TEXI2DVI = texi2dvi |
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
33 SHELL = /bin/sh |
22456
b7bf9b05f494
(INSTALL_INFO): New variable.
Richard M. Stallman <rms@gnu.org>
parents:
22014
diff
changeset
|
34 INSTALL_INFO = install-info |
59151
d6abda0a027b
(MAKEINFO): Specify --force.
Richard M. Stallman <rms@gnu.org>
parents:
58786
diff
changeset
|
35 MAKEINFO = makeinfo --force |
6558 | 36 |
37 # The name of the manual: | |
42824 | 38 VERSION=2.9 |
39992 | 39 manual = elisp-manual-21-$(VERSION) |
6558 | 40 |
41 # List of all the texinfo files in the manual: | |
42 | |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
43 srcs = \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
44 $(srcdir)/abbrevs.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
45 $(srcdir)/advice.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
46 $(srcdir)/anti.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
47 $(srcdir)/back.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
48 $(srcdir)/backups.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
49 $(srcdir)/buffers.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
50 $(srcdir)/commands.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
51 $(srcdir)/compile.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
52 $(srcdir)/control.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
53 $(srcdir)/customize.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
54 $(srcdir)/debugging.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
55 $(srcdir)/display.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
56 $(srcdir)/edebug.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
57 $(srcdir)/elisp.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
58 $(srcdir)/errors.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
59 $(srcdir)/eval.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
60 $(srcdir)/files.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
61 $(srcdir)/frames.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
62 $(srcdir)/functions.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
63 $(srcdir)/hash.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
64 $(srcdir)/help.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
65 $(srcdir)/hooks.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
66 $(srcdir)/internals.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
67 $(srcdir)/intro.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
68 $(srcdir)/keymaps.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
69 $(srcdir)/lists.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
70 $(srcdir)/loading.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
71 $(srcdir)/locals.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
72 $(srcdir)/macros.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
73 $(srcdir)/maps.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
74 $(srcdir)/markers.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
75 $(srcdir)/minibuf.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
76 $(srcdir)/modes.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
77 $(srcdir)/nonascii.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
78 $(srcdir)/numbers.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
79 $(srcdir)/objects.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
80 $(srcdir)/os.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
81 $(srcdir)/positions.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
82 $(srcdir)/processes.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
83 $(srcdir)/searching.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
84 $(srcdir)/sequences.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
85 $(srcdir)/streams.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
86 $(srcdir)/strings.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
87 $(srcdir)/symbols.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
88 $(srcdir)/syntax.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
89 $(srcdir)/text.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
90 $(srcdir)/tips.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
91 $(srcdir)/variables.texi \ |
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
92 $(srcdir)/windows.texi \ |
52915
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
93 $(srcdir)/index.texi \ |
40228
afee33bfd42a
(srcs): Add gpl.texi and doclicense.texi.
Gerd Moellmann <gerd@gnu.org>
parents:
39992
diff
changeset
|
94 $(srcdir)/gpl.texi \ |
afee33bfd42a
(srcs): Add gpl.texi and doclicense.texi.
Gerd Moellmann <gerd@gnu.org>
parents:
39992
diff
changeset
|
95 $(srcdir)/doclicense.texi |
afee33bfd42a
(srcs): Add gpl.texi and doclicense.texi.
Gerd Moellmann <gerd@gnu.org>
parents:
39992
diff
changeset
|
96 |
6558 | 97 |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
98 .PHONY: clean |
6558 | 99 |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
100 # The info file is named `elisp'. |
40884 | 101 info: $(infodir)/elisp |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
102 |
52915
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
103 $(infodir)/elisp: $(srcs) |
73536
baed64986af0
* Makefile.in: Use relative paths to avoid advertising filesystem
Chong Yidong <cyd@stupidchicken.com>
parents:
72467
diff
changeset
|
104 cd $(srcdir); $(MAKEINFO) -I. -I$(infodir) elisp.texi -o $(infodir)/elisp |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
105 |
52915
26a5da04740c
Remove support for permuted index and use texi2dvi.
Andreas Schwab <schwab@suse.de>
parents:
52401
diff
changeset
|
106 elisp.dvi: $(srcs) |
72467
2a92d47ee7d5
Use ../man/texinfo.tex to build elisp.dvi.
Lute Kamstra <lute@gnu.org>
parents:
68648
diff
changeset
|
107 $(TEXI2DVI) -I $(srcdir) -I $(usermanualdir) $(srcdir)/elisp.texi |
6558 | 108 |
58366 | 109 # 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
|
110 install: elisp |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
111 $(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
|
112 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
|
113 ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp |
6558 | 114 |
58366 | 115 # This is for use in a separate distro of the Emacs Lisp manual. |
116 elisp: $(srcs) | |
117 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi | |
118 | |
6558 | 119 clean: |
120 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | |
121 *.vr *.vrs *.pg *.pgs *.ky *.kys | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
42824
diff
changeset
|
122 rm -f make.out core |
6558 | 123 |
40896 | 124 distclean: clean |
125 | |
12317
6236bdeec18d
(VERSION): Update version number.
Richard M. Stallman <rms@gnu.org>
parents:
12112
diff
changeset
|
126 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
|
127 rm -f elisp.dvi elisp.oaux |
63204
f810bd3a6217
Remove eol whitespace; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
60994
diff
changeset
|
128 cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9] |
12112 | 129 |
58366 | 130 dist: $(infodir)/elisp elisp.dvi |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
131 -rm -rf temp |
6558 | 132 -mkdir temp |
133 -mkdir temp/$(manual) | |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
134 -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
|
135 $(srcdir)/Makefile.in $(srcs) \ |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
136 $(srcdir)/../man/texinfo.tex \ |
58366 | 137 elisp.dvi elisp.aux elisp.??s \ |
138 $(infodir)/elisp $(infodir)/elisp-[1-9] $(infodir)/elisp-[1-9][0-9] \ | |
23150 | 139 temp/$(manual) |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
140 -(cd temp/$(manual); rm -f mkinstalldirs) |
39111
c10fdb82dffd
(srcdir, texinputdir): New variables.
Gerd Moellmann <gerd@gnu.org>
parents:
37605
diff
changeset
|
141 cp $(srcdir)/mkinstalldirs temp/$(manual) |
6558 | 142 (cd temp/$(manual); rm -f *~) |
143 (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz | |
144 -rm -rf temp |