Mercurial > emacs
annotate lispref/Makefile.in @ 22218:eb4deede0c5a
(apropos-command): Change 3rd arg to VAR-PREDICATE
and use it as a predicate for which variables to match.
(apropos-variable): Use that feature to match all documented vars,
if have prefix arg.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 24 May 1998 23:11:14 +0000 |
parents | 9c5897743b4f |
children | b7bf9b05f494 |
rev | line source |
---|---|
6558 | 1 # Makefile for the GNU Emacs Lisp Reference Manual. |
2 # | |
3 # 11 August 1990 | |
4 | |
5 # Redefine `TEX' if `tex' does not invoke plain TeX. For example: | |
6 # TEX=platex | |
7 | |
8 TEX=tex | |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
9 MAKE=make |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
10 SHELL=/bin/sh |
6558 | 11 |
12 # Where the TeX macros are kept: | |
13 texmacrodir = /usr/local/lib/tex/macros | |
14 | |
15 # Where the Emacs hierarchy lives ($EMACS in the INSTALL document for Emacs.) | |
16 # For example: | |
17 # emacslibdir = /usr/local/gnu/lib/emacs | |
18 | |
19 # Directory where Emacs is installed, by default: | |
20 emacslibdir = /usr/local/emacs | |
21 | |
22 # Unless you have a nonstandard Emacs installation, these shouldn't have to | |
23 # be changed. | |
24 prefix = /usr/local | |
25 infodir = ${prefix}/info | |
26 | |
27 # The name of the manual: | |
28 | |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
29 VERSION=2.5 |
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
30 manual = elisp-manual-20-$(VERSION) |
6558 | 31 |
32 # Uncomment this line for permuted index. | |
33 # permuted_index = 1 | |
34 | |
35 # List of all the texinfo files in the manual: | |
36 | |
37 srcs = elisp.texi back.texi \ | |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
38 abbrevs.texi advice.texi anti.texi backups.texi locals.texi buffers.texi \ |
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
39 calendar.texi commands.texi compile.texi control.texi customize.texi \ |
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
40 debugging.texi display.texi edebug.texi errors.texi eval.texi files.texi \ |
6558 | 41 frames.texi functions.texi help.texi hooks.texi \ |
42 internals.texi intro.texi keymaps.texi lists.texi \ | |
43 loading.texi macros.texi maps.texi markers.texi \ | |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
44 minibuf.texi modes.texi nonascii.texi numbers.texi objects.texi \ |
6558 | 45 os.texi positions.texi processes.texi searching.texi \ |
46 sequences.texi streams.texi strings.texi symbols.texi \ | |
47 syntax.texi text.texi tips.texi variables.texi \ | |
48 windows.texi \ | |
49 index.unperm index.perm | |
50 | |
51 .PHONY: elisp.dvi clean | |
52 | |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
53 # The info file is named `elisp'. |
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
54 |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
55 elisp: $(srcs) index.texi |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
56 rm -f elisp-* |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
57 makeinfo elisp.texi |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
58 |
21913
e9cc81bc8d9a
(elisp.dvi): Don't depend on texindex or on elisp.tps.
Richard M. Stallman <rms@gnu.org>
parents:
21644
diff
changeset
|
59 elisp.dvi: $(srcs) index.texi |
6558 | 60 # Avoid losing old contents of aux file entirely. |
61 -mv elisp.aux elisp.oaux | |
62 # First shot to define xrefs: | |
63 $(TEX) elisp.texi | |
64 if [ a${permuted_index} != a ]; \ | |
65 then \ | |
66 ./permute-index; \ | |
22014
9c5897743b4f
(elisp.dvi): Add missing backslash.
Richard M. Stallman <rms@gnu.org>
parents:
21913
diff
changeset
|
67 mv permuted.fns elisp.fns; \ |
21913
e9cc81bc8d9a
(elisp.dvi): Don't depend on texindex or on elisp.tps.
Richard M. Stallman <rms@gnu.org>
parents:
21644
diff
changeset
|
68 texindex elisp.tp; \ |
6558 | 69 else \ |
21913
e9cc81bc8d9a
(elisp.dvi): Don't depend on texindex or on elisp.tps.
Richard M. Stallman <rms@gnu.org>
parents:
21644
diff
changeset
|
70 texindex elisp.??; \ |
6558 | 71 fi |
72 $(TEX) elisp.texi | |
73 | |
74 index.texi: | |
75 if [ a${permuted_index} != a ]; \ | |
76 then \ | |
77 ln -s index.perm index.texi; \ | |
78 else \ | |
79 ln -s index.unperm index.texi; \ | |
80 fi | |
81 | |
14936
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
82 install: elisp |
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
83 ./mkinstalldirs $(infodir) |
ad2ca475c6d6
(elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents:
12317
diff
changeset
|
84 cp elisp elisp-* $(infodir) |
6558 | 85 @echo also add the line for elisp to $(infodir)/dir. |
86 | |
87 installall: install | |
88 install -c texinfo.tex $(texmacrodir) | |
89 | |
90 clean: | |
91 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | |
92 *.vr *.vrs *.pg *.pgs *.ky *.kys | |
93 rm -f make.out core | |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
94 rm -f index.texi |
6558 | 95 |
12317
6236bdeec18d
(VERSION): Update version number.
Richard M. Stallman <rms@gnu.org>
parents:
12112
diff
changeset
|
96 maintainer-clean: clean |
12112 | 97 rm -f elisp elisp-* |
98 | |
6558 | 99 dist: |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
100 -rm -rf temp |
6558 | 101 -mkdir temp |
102 -mkdir temp/$(manual) | |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
103 -ln README Makefile permute-index $(srcs) texinfo.tex \ |
6558 | 104 elisp.dvi elisp.aux elisp.??s elisp elisp-[0-9] elisp-[0-9][0-9] temp/$(manual) |
21644
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
105 -(cd temp/$(manual); rm -f mkinstalldirs) |
dd9d371a4489
(elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents:
16703
diff
changeset
|
106 cp mkinstalldirs temp/$(manual) |
6558 | 107 (cd temp/$(manual); rm -f *~) |
108 (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz | |
109 -rm -rf temp |