annotate lispref/makefile.w32-in @ 79292:256e724f6460

(whitespace-write-file-hook): Remove interactive spec. (whitespace-unload-function): New-style unload function. If run, stop old style `-hook' function from running.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 31 Oct 2007 15:56:23 +0000
parents 63591152f3cb
children a1e16e813aed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55092
9077e3f7cd49 Add "-*- makefile -*-" mode tag.
Juanma Barranquero <lekktu@gmail.com>
parents: 54200
diff changeset
1 # -*- Makefile -*- for the GNU Emacs Lisp Reference Manual.
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
2
75348
3d45362f1d38 Add 2007 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 74517
diff changeset
3 # Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
4
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
5 # This file is part of GNU Emacs.
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
6
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
7 # GNU Emacs is free software; you can redistribute it and/or modify
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
8 # it under the terms of the GNU General Public License as published by
78255
63591152f3cb Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 75348
diff changeset
9 # the Free Software Foundation; either version 3, or (at your option)
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
10 # any later version.
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
11
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
12 # GNU Emacs is distributed in the hope that it will be useful,
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
15 # GNU General Public License for more details.
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
16
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
18 # along with GNU Emacs; see the file COPYING. If not, write to
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 63748
diff changeset
19 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 63748
diff changeset
20 # Boston, MA 02110-1301, USA.
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
21
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
22 # Standard configure variables.
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
23 srcdir = .
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
24
73548
227bb8f9276e * makefile.w32-in: revert last change.
Chong Yidong <cyd@stupidchicken.com>
parents: 73536
diff changeset
25 infodir = $(srcdir)/../info
72607
408b3e9508a1 (usermanualdir): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 68648
diff changeset
26 usermanualdir = $(srcdir)/../man
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
27
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
28 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
29 # TEX=platex
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
30 TEX=tex
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
31 INSTALL_INFO = install-info
63748
8bc70dd17ac2 (MAKEINFO): Use --force.
Eli Zaretskii <eliz@gnu.org>
parents: 60994
diff changeset
32 MAKEINFO = makeinfo --force
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
33
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
34 # The environment variable and its value to add $(srcdir) to the path
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
35 # searched for TeX input files.
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
36 texinputdir = $(srcdir)\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" /C
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
37
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
38 # The name of the manual:
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
39 VERSION=2.9
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
40 manual = elisp-manual-21-$(VERSION)
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
41
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
42 # List of all the texinfo files in the manual:
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
43
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
44 srcs = \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
45 $(srcdir)/abbrevs.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
46 $(srcdir)/advice.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
47 $(srcdir)/anti.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
48 $(srcdir)/back.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
49 $(srcdir)/backups.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
50 $(srcdir)/buffers.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
51 $(srcdir)/commands.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
52 $(srcdir)/compile.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
53 $(srcdir)/control.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
54 $(srcdir)/customize.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
55 $(srcdir)/debugging.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
56 $(srcdir)/display.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
57 $(srcdir)/edebug.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
58 $(srcdir)/elisp.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
59 $(srcdir)/errors.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
60 $(srcdir)/eval.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
61 $(srcdir)/files.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
62 $(srcdir)/frames.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
63 $(srcdir)/functions.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
64 $(srcdir)/hash.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
65 $(srcdir)/help.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
66 $(srcdir)/hooks.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
67 $(srcdir)/internals.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
68 $(srcdir)/intro.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
69 $(srcdir)/keymaps.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
70 $(srcdir)/lists.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
71 $(srcdir)/loading.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
72 $(srcdir)/locals.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
73 $(srcdir)/macros.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
74 $(srcdir)/maps.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
75 $(srcdir)/markers.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
76 $(srcdir)/minibuf.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
77 $(srcdir)/modes.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
78 $(srcdir)/nonascii.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
79 $(srcdir)/numbers.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
80 $(srcdir)/objects.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
81 $(srcdir)/os.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
82 $(srcdir)/positions.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
83 $(srcdir)/processes.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
84 $(srcdir)/searching.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
85 $(srcdir)/sequences.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
86 $(srcdir)/streams.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
87 $(srcdir)/strings.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
88 $(srcdir)/symbols.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
89 $(srcdir)/syntax.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
90 $(srcdir)/text.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
91 $(srcdir)/tips.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
92 $(srcdir)/variables.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
93 $(srcdir)/windows.texi \
53810
8e3fcb111ffd Sync with Makefile.in changes.
Jason Rumney <jasonr@gnu.org>
parents: 52428
diff changeset
94 $(srcdir)/index.texi \
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
95 $(srcdir)/gpl.texi \
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
96 $(srcdir)/doclicense.texi
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
97
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
98
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
99 .PHONY: clean
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
100
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
101 # The info file is named `elisp'.
64689
41b16531418b (info): Don't run install-info.
Eli Zaretskii <eliz@gnu.org>
parents: 64083
diff changeset
102
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
103 info: $(infodir)/elisp
64689
41b16531418b (info): Don't run install-info.
Eli Zaretskii <eliz@gnu.org>
parents: 64083
diff changeset
104
41b16531418b (info): Don't run install-info.
Eli Zaretskii <eliz@gnu.org>
parents: 64083
diff changeset
105 $(infodir)/dir:
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
106 $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
107
53810
8e3fcb111ffd Sync with Makefile.in changes.
Jason Rumney <jasonr@gnu.org>
parents: 52428
diff changeset
108 $(infodir)/elisp: $(srcs)
73548
227bb8f9276e * makefile.w32-in: revert last change.
Chong Yidong <cyd@stupidchicken.com>
parents: 73536
diff changeset
109 $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
110
53810
8e3fcb111ffd Sync with Makefile.in changes.
Jason Rumney <jasonr@gnu.org>
parents: 52428
diff changeset
111 elisp.dvi: $(srcs)
72607
408b3e9508a1 (usermanualdir): New variable.
Eli Zaretskii <eliz@gnu.org>
parents: 68648
diff changeset
112 $(texinputdir) $(TEX) -I $(usermanualdir) $(srcdir)/elisp.texi
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
113
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
114 clean:
54200
b0293635c42b * man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents: 53810
diff changeset
115 - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
b0293635c42b * man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents: 53810
diff changeset
116 *.vr *.vrs *.pg *.pgs *.ky *.kys
b0293635c42b * man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents: 53810
diff changeset
117 - $(DEL) make.out core
b0293635c42b * man/makefile.w32-in (mostlyclean, clean, maintainer-clean): Use
Juanma Barranquero <lekktu@gmail.com>
parents: 53810
diff changeset
118 - $(DEL) $(infodir)/elisp*
52423
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
119
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
120 distclean: clean
d5ad9d67bb1a New file.
Jason Rumney <jasonr@gnu.org>
parents:
diff changeset
121
74472
389355f7baa3 (maintainer-clean): Depend on `distclean'. Don't remove elisp* info files;
Juanma Barranquero <lekktu@gmail.com>
parents: 73548
diff changeset
122 maintainer-clean: distclean
74517
8864966dbf05 (maintainer-clean): Partially revert last change; delete "elisp-?"
Juanma Barranquero <lekktu@gmail.com>
parents: 74472
diff changeset
123 - $(DEL) elisp elisp-? elisp-?? elisp.dvi elisp.oaux