Mercurial > emacs
annotate doc/lispref/Makefile.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 | 8d0bb433e814 |
rev | line source |
---|---|
84044 | 1 # Makefile for the GNU Emacs Lisp Reference Manual. |
2 | |
3 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, | |
87649 | 4 # 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
5 # Free Software Foundation, Inc. | |
84044 | 6 |
7 # This file is part of GNU Emacs. | |
8 | |
95035
fde6f792a832
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
87649
diff
changeset
|
9 # GNU Emacs is free software: you can redistribute it and/or modify |
84044 | 10 # 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:
87649
diff
changeset
|
11 # 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:
87649
diff
changeset
|
12 # (at your option) any later version. |
84044 | 13 |
14 # GNU Emacs is distributed in the hope that it will be useful, | |
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 # GNU General Public License for more details. | |
18 | |
19 # 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:
87649
diff
changeset
|
20 # 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:
87649
diff
changeset
|
21 |
84044 | 22 |
23 # Standard configure variables. | |
24 srcdir = @srcdir@ | |
25 | |
26 # Tell make where to find source files; this is needed for the makefiles. | |
27 VPATH=@srcdir@ | |
28 | |
84114
0a7dcb607dd7
(infodir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents:
84044
diff
changeset
|
29 infodir = ../../info |
0a7dcb607dd7
(infodir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents:
84044
diff
changeset
|
30 usermanualdir = $(srcdir)/../emacs |
0a7dcb607dd7
(infodir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents:
84044
diff
changeset
|
31 miscmanualdir = $(srcdir)/../misc |
84044 | 32 |
33 TEXI2DVI = texi2dvi | |
34 SHELL = /bin/sh | |
35 INSTALL_INFO = install-info | |
36 MAKEINFO = makeinfo --force | |
37 | |
38 # The name of the manual: | |
39 VERSION=2.9 | |
40 manual = elisp-manual-21-$(VERSION) | |
41 | |
42 # List of all the texinfo files in the manual: | |
43 | |
44 srcs = \ | |
45 $(srcdir)/abbrevs.texi \ | |
46 $(srcdir)/advice.texi \ | |
47 $(srcdir)/anti.texi \ | |
48 $(srcdir)/back.texi \ | |
49 $(srcdir)/backups.texi \ | |
50 $(srcdir)/buffers.texi \ | |
51 $(srcdir)/commands.texi \ | |
52 $(srcdir)/compile.texi \ | |
53 $(srcdir)/control.texi \ | |
54 $(srcdir)/customize.texi \ | |
55 $(srcdir)/debugging.texi \ | |
56 $(srcdir)/display.texi \ | |
57 $(srcdir)/edebug.texi \ | |
58 $(srcdir)/elisp.texi \ | |
59 $(srcdir)/errors.texi \ | |
60 $(srcdir)/eval.texi \ | |
61 $(srcdir)/files.texi \ | |
62 $(srcdir)/frames.texi \ | |
63 $(srcdir)/functions.texi \ | |
64 $(srcdir)/hash.texi \ | |
65 $(srcdir)/help.texi \ | |
66 $(srcdir)/hooks.texi \ | |
67 $(srcdir)/internals.texi \ | |
68 $(srcdir)/intro.texi \ | |
69 $(srcdir)/keymaps.texi \ | |
70 $(srcdir)/lists.texi \ | |
71 $(srcdir)/loading.texi \ | |
72 $(srcdir)/locals.texi \ | |
73 $(srcdir)/macros.texi \ | |
74 $(srcdir)/maps.texi \ | |
75 $(srcdir)/markers.texi \ | |
76 $(srcdir)/minibuf.texi \ | |
77 $(srcdir)/modes.texi \ | |
78 $(srcdir)/nonascii.texi \ | |
79 $(srcdir)/numbers.texi \ | |
80 $(srcdir)/objects.texi \ | |
81 $(srcdir)/os.texi \ | |
82 $(srcdir)/positions.texi \ | |
83 $(srcdir)/processes.texi \ | |
84 $(srcdir)/searching.texi \ | |
85 $(srcdir)/sequences.texi \ | |
86 $(srcdir)/streams.texi \ | |
87 $(srcdir)/strings.texi \ | |
88 $(srcdir)/symbols.texi \ | |
89 $(srcdir)/syntax.texi \ | |
90 $(srcdir)/text.texi \ | |
91 $(srcdir)/tips.texi \ | |
92 $(srcdir)/variables.texi \ | |
93 $(srcdir)/windows.texi \ | |
94 $(srcdir)/index.texi \ | |
95 $(srcdir)/gpl.texi \ | |
96 $(srcdir)/doclicense.texi | |
97 | |
98 | |
99 .PHONY: clean | |
100 | |
101 # The info file is named `elisp'. | |
102 info: $(infodir)/elisp | |
103 | |
104 $(infodir)/elisp: $(srcs) | |
105 cd $(srcdir); $(MAKEINFO) -I. -I$(infodir) elisp.texi -o $(infodir)/elisp | |
106 | |
107 elisp.dvi: $(srcs) | |
108 $(TEXI2DVI) -I $(srcdir) -I $(usermanualdir) $(srcdir)/elisp.texi | |
109 | |
110 # This is for use in a separate distro of the Emacs Lisp manual. | |
111 install: elisp | |
112 $(srcdir)/mkinstalldirs $(infodir) | |
113 cp elisp elisp-[1-9] elisp-[1-9][0-9] $(infodir) | |
114 ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/elisp | |
115 | |
116 # This is for use in a separate distro of the Emacs Lisp manual. | |
117 elisp: $(srcs) | |
118 $(MAKEINFO) -I. -I$(srcdir) $(srcdir)/elisp.texi | |
119 | |
120 clean: | |
121 rm -f *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | |
122 *.vr *.vrs *.pg *.pgs *.ky *.kys | |
123 rm -f make.out core | |
124 | |
125 distclean: clean | |
126 | |
127 maintainer-clean: clean | |
128 rm -f elisp.dvi elisp.oaux | |
129 cd $(infodir); rm -f elisp elisp-[1-9] elisp-[1-9][0-9] | |
130 | |
131 dist: $(infodir)/elisp elisp.dvi | |
132 -rm -rf temp | |
133 -mkdir temp | |
134 -mkdir temp/$(manual) | |
135 -ln $(srcdir)/README $(srcdir)/configure.in $(srcdir)/configure \ | |
136 $(srcdir)/Makefile.in $(srcs) \ | |
84114
0a7dcb607dd7
(infodir): Go up one more level.
Glenn Morris <rgm@gnu.org>
parents:
84044
diff
changeset
|
137 $(miscmanualdir)/texinfo.tex \ |
84044 | 138 elisp.dvi elisp.aux elisp.??s \ |
139 $(infodir)/elisp $(infodir)/elisp-[1-9] $(infodir)/elisp-[1-9][0-9] \ | |
140 temp/$(manual) | |
141 -(cd temp/$(manual); rm -f mkinstalldirs) | |
142 cp $(srcdir)/mkinstalldirs temp/$(manual) | |
143 (cd temp/$(manual); rm -f *~) | |
144 (cd temp; tar chf - $(manual)) | gzip > $(manual).tar.gz | |
145 -rm -rf temp |