annotate doc/lispref/makefile.w32-in @ 95397:c99f0a16c077

(CODING_UTF_8_BOM): New macro. (enum coding_category): Delete coding_category_utf_8, add coding_category_utf_8_auto, coding_category_utf_8_nosig, and coding_category_utf_8_sig. (CATEGORY_MASK_UTF_8): Delete it. (CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG) (CATEGORY_MASK_UTF_8_SIG): New macros. (CATEGORY_MASK_ANY): Delete CATEGORY_MASK_UTF_8, add CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG, and CATEGORY_MASK_UTF_8_SIG. (CATEGORY_MASK_UTF_8): New macro. (UTF_BOM, UTF_8_BOM_1, UTF_8_BOM_2, UTF_8_BOM_3): New macros. (detect_coding_utf_8): Check BOM. (decode_coding_utf_8, encode_coding_utf_8): Handle BOM. (decode_coding_utf_16): Adjusted for the change of enum utf_bom_type. (encode_coding_utf_16): Likewise. (setup_coding_system): Likewise. Set CODING_UTF_8_BOM (coding). (detect_coding, detect_coding_system): Handle utf-8-auto. (Fdefine_coding_system_internal): Handle `bom' property for utf-8. (syms_of_coding): Fix setting up of Vcoding_category_table.
author Kenichi Handa <handa@m17n.org>
date Thu, 29 May 2008 22:58:15 +0000
parents fde6f792a832
children 458bb3147a5c
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
87649
107ccd98fa12 Merge from emacs--rel--22
Miles Bader <miles@gnu.org>
parents: 84115
diff changeset
3 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
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
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 # Redefine `TEX' if `tex' does not invoke plain TeX. For example:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 # TEX=platex
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 TEX=tex
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 INSTALL_INFO = install-info
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 MAKEINFO = makeinfo --force
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 # 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
35 # searched for TeX input files.
84115
bf7b75608f40 (infodir, texinputdir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents: 84084
diff changeset
36 texinputdir = $(srcdir)\..\..\nt\envadd.bat "TEXINPUTS=$(srcdir);$(TEXINPUTS)" /C
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 # The name of the manual:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 VERSION=2.9
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 manual = elisp-manual-21-$(VERSION)
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 # List of all the texinfo files in the manual:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 srcs = \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 $(srcdir)/abbrevs.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 $(srcdir)/advice.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 $(srcdir)/anti.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 $(srcdir)/back.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 $(srcdir)/backups.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 $(srcdir)/buffers.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 $(srcdir)/commands.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 $(srcdir)/compile.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 $(srcdir)/control.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 $(srcdir)/customize.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 $(srcdir)/debugging.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 $(srcdir)/display.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 $(srcdir)/edebug.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 $(srcdir)/elisp.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 $(srcdir)/errors.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 $(srcdir)/eval.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 $(srcdir)/files.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 $(srcdir)/frames.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 $(srcdir)/functions.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 $(srcdir)/hash.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 $(srcdir)/help.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 $(srcdir)/hooks.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 $(srcdir)/internals.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 $(srcdir)/intro.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 $(srcdir)/keymaps.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 $(srcdir)/lists.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 $(srcdir)/loading.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 $(srcdir)/locals.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 $(srcdir)/macros.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 $(srcdir)/maps.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 $(srcdir)/markers.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 $(srcdir)/minibuf.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 $(srcdir)/modes.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 $(srcdir)/nonascii.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 $(srcdir)/numbers.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 $(srcdir)/objects.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 $(srcdir)/os.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 $(srcdir)/positions.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 $(srcdir)/processes.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 $(srcdir)/searching.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 $(srcdir)/sequences.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 $(srcdir)/streams.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 $(srcdir)/strings.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 $(srcdir)/symbols.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 $(srcdir)/syntax.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 $(srcdir)/text.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 $(srcdir)/tips.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 $(srcdir)/variables.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 $(srcdir)/windows.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 $(srcdir)/index.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 $(srcdir)/gpl.texi \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 $(srcdir)/doclicense.texi
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 .PHONY: clean
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 # The info file is named `elisp'.
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102
91600
63f2f6e290cb Revert last change
Jason Rumney <jasonr@gnu.org>
parents: 91540
diff changeset
103 info: $(infodir)/elisp
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104
91600
63f2f6e290cb Revert last change
Jason Rumney <jasonr@gnu.org>
parents: 91540
diff changeset
105 $(infodir)/dir:
84084
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/elisp
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 $(infodir)/elisp: $(srcs)
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109 $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 elisp.dvi: $(srcs)
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 $(texinputdir) $(TEX) -I $(usermanualdir) $(srcdir)/elisp.texi
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 clean:
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115 - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 *.vr *.vrs *.pg *.pgs *.ky *.kys
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 - $(DEL) make.out core
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 - $(DEL) $(infodir)/elisp*
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120 distclean: clean
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 maintainer-clean: distclean
7ee2021a7ef2 Move here from ../../lispref
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 - $(DEL) elisp elisp-? elisp-?? elisp.dvi elisp.oaux