Mercurial > emacs
annotate leim-Makefile.in @ 31383:860d7ac182e3
(vc-rcs-show-log-entry): New function.
(vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
(vc-rcs-register): If there is no RCS subdir, ask the
user whether to create one.
(vc-rcs-state-heuristic): Use
file-ownership-preserved-p.
(vc-rcs-checkout): Remove the error-handling for missing-rcs.
(vc-rcs-state-heuristic): Don't use file-writable-p.
(vc-rcs-print-log): Insert in the current buffer.
(vc-rcs-diff): Insert in the current buffer and remove unused arg
CMP.
(vc-rcs-workfile-unchanged-p): Use vc-do-command
instead of vc-simple-command.
(vc-rcs-fetch-master-state): Removed check for unlocked-changes to
avoid doing a diff when opening a file.
(vc-rcs-state): Added check for unlocked-changes.
(vc-rcs-header): Escape Id.
(vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
(vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
version.
(vc-rcs-state-heuristic): Use file-writable-p instead
of comparing userids.
(vc-rcs-fetch-master-state): Handle the case where rcs is missing.
Simplify the logic by eliminating unreachable code.
(vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
just do a recursive call if we need to retry.
(vc-rcs-checkout): Handle the case where rcs is missing by making
the buffer read-write if requested and re-signalling the error.
(vc-rcs-find-most-recent-rev): New function. The code
derives from the old vc-parse-buffer but uses the revision number
rather than the date (much easier to compare robustly).
(vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
locking-user more directly. Check strict locking and set
checkout-model appropriately.
(vc-rcs-parse-locks): Remove.
(vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
(vc-rcs-system-release): Use with-current-buffer and
vc-parse-buffer.
(vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
Merge in code
from vc-rcs-hooks.el. Don't require 'vc anymore.
(vc-rcs-responsible-p): Use expand-file-name instead of concat and
file-directory-p instead of file-exists-p.
(vc-rcs-exists): Remove.
(vc-rcs-header): New var.
Update Copyright.
(vc-rcs-rename-file): New function.
(vc-rcs-diff): Remove unused `backend' variable.
(vc-rcs-clear-headers): New function; code moved here
from vc-clear-headers in vc.el.
(tail): Provide vc-rcs and remove vc-rcs-logentry-check.
(vc-rcs-register): Parse command output to find master
file name and workfile version.
(vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
Require vc and vc-rcs-hooks.
(vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
(vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
(vc-release-greater-or-equal-p): Move from vc.
(vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
(vc-rcs-checkout): Add a missing `new-version' argument in the
call to vc-rcs-latest-on-branch-p. Hopefully that was the right
one.
(vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
Updated everything to use `vc-checkout-model'.
(vc-rcs-backend-release-p): function added. other
stuff updated to reference this function instead of the old
`vc-backend-release-p'.
(vc-rcs-logentry-check): Function added.
(vc-rcs-checkin, vc-rcs-previous-version)
(vc-rcs-checkout): Name space cleaned up. No more revision number
crunching function names that are not prefixed with vc-rcs.
(vc-rcs-checkout-model): Function added. References to
`vc-checkout-model' replaced.
(vc-rcs-admin): Added the query-only option as
required by the vc.el file.
(vc-rcs-exists): Function added.
(vc-*-checkout):
Use with-temp-file instead of /bin/sh. Merged from mainline
(vc-rcs-latest-on-branch-p): Moved to vc-rcs-hooks.el.
(vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
(vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
(vc-rcs-previous-version): Functions added.
(vc-rcs-diff): Function added.
(vc-rcs-checkout) Bug (typo) found and fixed.
(vc-rcs-register-switches) Variable `vc-rcs-register-switches' added.
Require vc when compiling.
(vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
(vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
(vc-rcs-checkin): New functions (code from vc.el).
(vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
Doc fix.
(vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
(vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
(vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
(vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
from vc.el.
(vc-rcs-system-release):
Renamed from vc-rcs-backend-release.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 04 Sep 2000 19:47:43 +0000 |
parents | 8986e62b3e17 |
children | 2d2c0153a04d |
rev | line source |
---|---|
27557 | 1 # Makefile for leim subdirectory in GNU Emacs. |
2 # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. | |
3 # Licensed to the Free Software Foundation. | |
4 | |
5 # This file is part of GNU Emacs. | |
6 | |
7 # GNU Emacs is free software; you can redistribute it and/or modify | |
8 # it under the terms of the GNU General Public License as published by | |
9 # the Free Software Foundation; either version 2, or (at your option) | |
10 # any later version. | |
11 # | |
12 # GNU Emacs is distributed in the hope that it will be useful, | |
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 # GNU General Public License for more details. | |
16 # | |
17 # You should have received a copy of the GNU General Public License | |
18 # along with GNU Emacs; see the file COPYING. If not, write to the | |
19 # Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 # Boston, MA 02111-1307, USA. | |
21 | |
22 # Avoid trouble on systems where the `SHELL' variable might be | |
23 # inherited from the environment. | |
24 SHELL = /bin/sh | |
25 | |
26 # Here are the things that we expect ../configure to edit. | |
27 version=@version@ | |
28 prefix=@prefix@ | |
29 datadir=@datadir@ | |
30 srcdir=@srcdir@ | |
31 | |
32 # Where to install LEIM files. | |
33 INSTALLDIR=${datadir}/emacs/${version}/leim | |
34 | |
35 # On Xenix and the IBM RS6000, double-dot gets screwed up. | |
36 dot = . | |
37 | |
38 # Which Emacs to use to convert TIT files to Emacs Lisp files, | |
39 # byte-compile Emacs Lisp files, and generate the file leim-list.el. | |
40 BUILT-EMACS = ${dot}${dot}/src/emacs | |
41 | |
42 buildlisppath=${srcdir}/${dot}${dot}/lisp | |
43 | |
44 # How to run Emacs. | |
45 RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte | |
46 | |
47 # Subdirectories to be made if ${srcdir} is different from the current | |
48 # directory. | |
49 SUBDIRS=quail | |
50 | |
51 # Files generated from TIT dictionaries for Chinese GB character set. | |
52 TIT-GB=\ | |
53 quail/CTLau.el \ | |
54 quail/CCDOSPY.el \ | |
55 quail/Punct.el \ | |
56 quail/PY.el \ | |
57 quail/QJ.el \ | |
58 quail/SW.el \ | |
59 quail/TONEPY.el \ | |
60 quail/ZIRANMA.el | |
61 | |
62 # Files generated from TIT dictionaries for Chinese BIG5 character set. | |
63 TIT-BIG5=\ | |
64 quail/4Corner.el \ | |
65 quail/ARRAY30.el \ | |
66 quail/CTLauB.el \ | |
67 quail/ECDICT.el \ | |
68 quail/ETZY.el \ | |
69 quail/Punct-b5.el \ | |
70 quail/PY-b5.el \ | |
71 quail/QJ-b5.el \ | |
72 quail/ZOZY.el | |
73 | |
74 CHINESE-TIT=${TIT-GB} ${TIT-BIG5} | |
75 | |
76 NON-TIT-GB=${srcdir}/quail/py-punct.el | |
77 | |
78 NON-TIT-BIG5=${srcdir}/quail/quick-b5.el ${srcdir}/quail/tsang-b5.el \ | |
79 ${srcdir}/quail/pypunct-b5.el | |
80 | |
81 NON-TIT-CNS=${srcdir}/quail/quick-cns.el ${srcdir}/quail/tsang-cns.el | |
82 | |
83 CHINESE-NON-TIT=${NON-TIT-GB} ${NON-TIT-BIG5} ${NON-TIT-CNS} | |
84 | |
85 CHINESE-GB=${TIT-GB} ${NON-TIT-GB} | |
86 | |
87 CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5} | |
88 | |
89 CHINESE-CNS=${NON-TIT-CNS} | |
90 | |
31161
8986e62b3e17
Rename skkdic to ja-dic throughout the file.
Kenichi Handa <handa@m17n.org>
parents:
27557
diff
changeset
|
91 JAPANESE=${srcdir}/quail/japanese.el ${srcdir}/ja-dic/ja-dic.el |
27557 | 92 |
93 KOREAN= ${srcdir}/quail/hangul.el \ | |
94 ${srcdir}/quail/hangul3.el \ | |
95 ${srcdir}/quail/hanja.el \ | |
96 ${srcdir}/quail/hanja-jis.el \ | |
97 ${srcdir}/quail/symbol-ksc.el | |
98 | |
99 THAI=${srcdir}/quail/thai.el | |
100 | |
101 VIETNAMESE=${srcdir}/quail/viqr.el | |
102 | |
103 LAO=${srcdir}/quail/lao.el ${srcdir}/quail/lrt.el | |
104 | |
105 INDIAN=${srcdir}/quail/devanagari.el | |
106 | |
107 TIBETAN=${srcdir}/quail/tibetan.el | |
108 | |
109 LATIN=${srcdir}/quail/latin-pre.el ${srcdir}/quail/latin-post.el | |
110 | |
111 SLAVIC= \ | |
112 ${srcdir}/quail/czech.el \ | |
113 ${srcdir}/quail/slovak.el | |
114 | |
115 GREEK=${srcdir}/quail/greek.el | |
116 | |
117 RUSSIAN=${srcdir}/quail/cyrillic.el ${srcdir}/quail/cyril-jis.el | |
118 | |
119 MISC= \ | |
120 ${srcdir}/quail/ethiopic.el \ | |
121 ${srcdir}/quail/ipa.el \ | |
122 ${srcdir}/quail/hebrew.el | |
123 | |
124 CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS} | |
125 EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN} | |
126 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN} | |
127 EUROPEAN=${LATIN} ${SLAVIC} ${GREEK} ${RUSSIAN} | |
128 WORLD=${ASIA} ${EUROPEAN} ${MISC} | |
129 | |
130 TIT=${CHINESE-TIT} | |
131 NON-TIT=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${MISC} | |
132 | |
133 all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} leim-list.el | |
134 | |
135 # To ensure that we can run Emacs. This target is ignored (never | |
136 # being hit) if a user changes default value of EMACS. | |
137 ${dot}${dot}/src/emacs: | |
138 cd ../src; ${MAKE} ${MFLAGS} emacs | |
139 | |
140 ${SUBDIRS}: | |
141 mkdir $@ | |
142 touch stamp-subdir | |
143 | |
144 # Rule to generate quail/*.el from CXTERM-DIC/*.tit. | |
145 ${TIT}: | |
146 if [ -d quail ]; then true; else make quail; fi | |
147 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \ | |
148 --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC | |
149 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ | |
150 -f batch-byte-compile ${TIT} | |
151 | |
152 leim-list.el: ${SUBDIRS} ${WORLD} | |
153 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ | |
154 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ | |
155 --eval "(update-leim-list-file \".\")" ; \ | |
156 else \ | |
157 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ | |
158 --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \ | |
159 fi | |
160 | |
161 install: all | |
162 if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \ | |
163 rm -rf ${INSTALLDIR}/leim-list.el; \ | |
31161
8986e62b3e17
Rename skkdic to ja-dic throughout the file.
Kenichi Handa <handa@m17n.org>
parents:
27557
diff
changeset
|
164 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \ |
27557 | 165 echo "Copying leim files to ${INSTALLDIR} ..." ; \ |
166 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ | |
31161
8986e62b3e17
Rename skkdic to ja-dic throughout the file.
Kenichi Handa <handa@m17n.org>
parents:
27557
diff
changeset
|
167 tar -cf - leim-list.el quail ja-dic \ |
27557 | 168 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ |
169 else \ | |
170 tar -cf - leim-list.el quail \ | |
171 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ | |
172 cd ${srcdir}; \ | |
31161
8986e62b3e17
Rename skkdic to ja-dic throughout the file.
Kenichi Handa <handa@m17n.org>
parents:
27557
diff
changeset
|
173 tar -cf - quail/* ja-dic \ |
27557 | 174 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ |
175 fi; \ | |
176 else true; fi | |
177 -chmod -R a+r ${INSTALLDIR} | |
178 | |
179 clean mostlyclean: | |
180 ELC=`echo ${TIT} | sed 's/\.el/.elc/g'`; \ | |
181 rm -f ${TIT} $$ELC leim-list.el | |
182 | |
183 distclean maintainer-clean: | |
184 if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi | |
185 rm -f Makefile |