annotate lispref/Makefile.in @ 21883:93c99b3a57f1

(w32-drag-n-drop-debug, w32-drag-n-drop) (w32-drag-n-drop-other-frame): New functions. Bind them to the drag-n-drop events.
author Richard M. Stallman <rms@gnu.org>
date Fri, 01 May 1998 04:24:43 +0000
parents dd9d371a4489
children e9cc81bc8d9a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6558
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 # Makefile for the GNU Emacs Lisp Reference Manual.
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 #
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 # 11 August 1990
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 # TEX=platex
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 # Where the TeX macros are kept:
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 texmacrodir = /usr/local/lib/tex/macros
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 # Where the Emacs hierarchy lives ($EMACS in the INSTALL document for Emacs.)
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 # For example:
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 # emacslibdir = /usr/local/gnu/lib/emacs
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 # Directory where Emacs is installed, by default:
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 emacslibdir = /usr/local/emacs
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 # Unless you have a nonstandard Emacs installation, these shouldn't have to
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 # be changed.
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 prefix = /usr/local
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 infodir = ${prefix}/info
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 # The name of the manual:
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 # Uncomment this line for permuted index.
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 # permuted_index = 1
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 # List of all the texinfo files in the manual:
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 frames.texi functions.texi help.texi hooks.texi \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 internals.texi intro.texi keymaps.texi lists.texi \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 os.texi positions.texi processes.texi searching.texi \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46 sequences.texi streams.texi strings.texi symbols.texi \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 syntax.texi text.texi tips.texi variables.texi \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 windows.texi \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 index.unperm index.perm
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 .PHONY: elisp.dvi clean
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
21644
dd9d371a4489 (elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents: 16703
diff changeset
59 elisp.dvi: $(srcs) index.texi elisp.tps texindex
6558
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 # Avoid losing old contents of aux file entirely.
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 -mv elisp.aux elisp.oaux
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 # First shot to define xrefs:
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 $(TEX) elisp.texi
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 if [ a${permuted_index} != a ]; \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 then \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 ./permute-index; \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 mv permuted.fns elisp.fns; \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 else \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 ./texindex elisp.??; \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 fi
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 $(TEX) elisp.texi
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72
21644
dd9d371a4489 (elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents: 16703
diff changeset
73 elisp.tps: texindex
dd9d371a4489 (elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents: 16703
diff changeset
74 ./texindex elisp.tp
dd9d371a4489 (elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents: 16703
diff changeset
75
6558
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 index.texi:
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 if [ a${permuted_index} != a ]; \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 then \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 ln -s index.perm index.texi; \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 else \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 ln -s index.unperm index.texi; \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 fi
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83
14936
ad2ca475c6d6 (elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents: 12317
diff changeset
84 install: elisp
ad2ca475c6d6 (elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents: 12317
diff changeset
85 ./mkinstalldirs $(infodir)
ad2ca475c6d6 (elisp): Make this be the default target.
Karl Heuer <kwzh@gnu.org>
parents: 12317
diff changeset
86 cp elisp elisp-* $(infodir)
6558
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 @echo also add the line for elisp to $(infodir)/dir.
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 installall: install
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 install -c texinfo.tex $(texmacrodir)
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 clean:
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 *.vr *.vrs *.pg *.pgs *.ky *.kys
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 rm -f make.out core
21644
dd9d371a4489 (elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents: 16703
diff changeset
96 rm -f index.texi
6558
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97
12317
6236bdeec18d (VERSION): Update version number.
Richard M. Stallman <rms@gnu.org>
parents: 12112
diff changeset
98 maintainer-clean: clean
12112
841aa5ac0f46 (realclean): New target.
Karl Heuer <kwzh@gnu.org>
parents: 7543
diff changeset
99 rm -f elisp elisp-*
841aa5ac0f46 (realclean): New target.
Karl Heuer <kwzh@gnu.org>
parents: 7543
diff changeset
100
6558
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 dist:
21644
dd9d371a4489 (elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents: 16703
diff changeset
102 -rm -rf temp
6558
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 -mkdir temp
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 -mkdir temp/$(manual)
21644
dd9d371a4489 (elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents: 16703
diff changeset
105 -ln README Makefile permute-index $(srcs) texinfo.tex \
6558
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 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
107 -(cd temp/$(manual); rm -f mkinstalldirs)
dd9d371a4489 (elisp): Don't try to make makeinfo.
Richard M. Stallman <rms@gnu.org>
parents: 16703
diff changeset
108 cp mkinstalldirs temp/$(manual)
6558
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 (cd temp/$(manual); rm -f *~)
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz
fa8ff07eaafc Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 -rm -rf temp