annotate doc/lispref/makefile.w32-in @ 111524:d65a4bd9b059

Document count-words-region. * doc/emacs/basic.texi (Position Info): Add M-x count-words-region. * doc/lispintro/emacs-lisp-intro.texi: Rename the `count-words-region' example, since there is now a standard command of that name. * etc/NEWS: Mention it.
author Glenn Morris <rgm@gnu.org>
date Fri, 12 Nov 2010 19:48:16 -0800
parents b803c876a460
children 417b1e4d63cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 # -*- Makefile -*- for the GNU Emacs Lisp Reference Manual.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 100974
diff changeset
3 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
87649
107ccd98fa12 Merge from emacs--rel--22
Miles Bader <miles@gnu.org>
parents: 84115
diff changeset
4 # Free Software Foundation, Inc.
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 # This file is part of GNU Emacs.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7
95035
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91600
diff changeset
8 # GNU Emacs is free software: you can redistribute it and/or modify
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 # it under the terms of the GNU General Public License as published by
95035
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91600
diff changeset
10 # the Free Software Foundation, either version 3 of the License, or
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91600
diff changeset
11 # (at your option) any later version.
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 # GNU Emacs is distributed in the hope that it will be useful,
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 # GNU General Public License for more details.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 # You should have received a copy of the GNU General Public License
95035
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91600
diff changeset
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
fde6f792a832 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91600
diff changeset
20
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 # Standard configure variables.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 srcdir = .
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24
84115
bf7b75608f40 (infodir, texinputdir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 84084
diff changeset
25 infodir = $(srcdir)/../../info
bf7b75608f40 (infodir, texinputdir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 84084
diff changeset
26 usermanualdir = $(srcdir)/../emacs
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27
110895
b803c876a460 Fix building manuals on MS-Windows using emacsver.texi.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
28 # Directory with emacsver.texi.
b803c876a460 Fix building manuals on MS-Windows using emacsver.texi.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
29 emacsdir = $(srcdir)/../emacs
b803c876a460 Fix building manuals on MS-Windows using emacsver.texi.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
30
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 # TEX=platex
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 TEX=tex
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 INSTALL_INFO = install-info
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 MAKEINFO = makeinfo --force
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 # The environment variable and its value to add $(srcdir) to the path
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 # searched for TeX input files.
84115
bf7b75608f40 (infodir, texinputdir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 84084
diff changeset
39 texinputdir = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" /C
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 # The name of the manual:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 VERSION=2.9
95950
458bb3147a5c (manual): Use "23" rather than "21".
Glenn Morris <rgm@gnu.org>
parents: 95035
diff changeset
43 ## FIXME can this be set by configure, as per Makefile.in?
458bb3147a5c (manual): Use "23" rather than "21".
Glenn Morris <rgm@gnu.org>
parents: 95035
diff changeset
44 manual = elisp-manual-23-$(VERSION)
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 # List of all the texinfo files in the manual:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 srcs = \
110895
b803c876a460 Fix building manuals on MS-Windows using emacsver.texi.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
49 $(emacsdir)/emacsver.texi \
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 $(srcdir)/abbrevs.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 $(srcdir)/advice.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 $(srcdir)/anti.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 $(srcdir)/back.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 $(srcdir)/backups.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 $(srcdir)/buffers.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 $(srcdir)/commands.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 $(srcdir)/compile.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 $(srcdir)/control.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 $(srcdir)/customize.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 $(srcdir)/debugging.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 $(srcdir)/display.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 $(srcdir)/edebug.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 $(srcdir)/elisp.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 $(srcdir)/errors.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 $(srcdir)/eval.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 $(srcdir)/files.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 $(srcdir)/frames.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 $(srcdir)/functions.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 $(srcdir)/hash.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 $(srcdir)/help.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 $(srcdir)/hooks.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 $(srcdir)/internals.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 $(srcdir)/intro.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 $(srcdir)/keymaps.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 $(srcdir)/lists.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 $(srcdir)/loading.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 $(srcdir)/locals.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 $(srcdir)/macros.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 $(srcdir)/maps.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 $(srcdir)/markers.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 $(srcdir)/minibuf.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 $(srcdir)/modes.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 $(srcdir)/nonascii.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 $(srcdir)/numbers.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 $(srcdir)/objects.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 $(srcdir)/os.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 $(srcdir)/positions.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 $(srcdir)/processes.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 $(srcdir)/searching.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 $(srcdir)/sequences.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 $(srcdir)/streams.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 $(srcdir)/strings.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 $(srcdir)/symbols.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 $(srcdir)/syntax.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 $(srcdir)/text.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 $(srcdir)/tips.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 $(srcdir)/variables.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 $(srcdir)/windows.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 $(srcdir)/index.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 $(srcdir)/gpl.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 $(srcdir)/doclicense.texi
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104 .PHONY: clean
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 # The info file is named `elisp'.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107
91600
63f2f6e290cb Revert last change
Jason Rumney <jasonr@gnu.org>
parents: 91540
diff changeset
108 info: $(infodir)/elisp
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109
91600
63f2f6e290cb Revert last change
Jason Rumney <jasonr@gnu.org>
parents: 91540
diff changeset
110 $(infodir)/dir:
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 $(infodir)/elisp: $(srcs)
110895
b803c876a460 Fix building manuals on MS-Windows using emacsver.texi.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
114 $(MAKEINFO) -I. -I$(srcdir) -I$(emacsdir) \
b803c876a460 Fix building manuals on MS-Windows using emacsver.texi.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
115 -o $(infodir)/elisp $(srcdir)/elisp.texi
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 elisp.dvi: $(srcs)
110895
b803c876a460 Fix building manuals on MS-Windows using emacsver.texi.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
118 $(texinputdir) $(TEX) -I $(usermanualdir) -I$(emacsdir) \
b803c876a460 Fix building manuals on MS-Windows using emacsver.texi.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
119 $(srcdir)/elisp.texi
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 clean:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 *.vr *.vrs *.pg *.pgs *.ky *.kys
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 - $(DEL) make.out core
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125 - $(DEL) $(infodir)/elisp*
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 distclean: clean
96104
9ca383883671 (distclean): Remove makefile.
Eli Zaretskii <eliz@gnu.org>
parents: 95950
diff changeset
128 - $(DEL) makefile
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 maintainer-clean: distclean
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 - $(DEL) elisp elisp-? elisp-?? elisp.dvi elisp.oaux