Mercurial > emacs
view leim/makefile.w32-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 | c4145d3e2822 |
children | ba6f78070666 |
line wrap: on
line source
# Makefile for leim subdirectory in GNU Emacs on the Microsoft W32 API. # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. # Licensed to the Free Software Foundation. # This file is part of GNU Emacs. # GNU Emacs is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # GNU Emacs is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Emacs; see the file COPYING. If not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. srcdir=. # Where to install LEIM files. INSTALLDIR=$(INSTALL_DIR)\leim # On Xenix and the IBM RS6000, double-dot gets screwed up. dot = . # Which Emacs to use to convert TIT files to Emacs Lisp files, # byte-compile Emacs Lisp files, and generate the file leim-list.el. BUILT_EMACS = $(dot)$(dot)/src/$(BLD)/emacs.exe buildlisppath=$(dot)$(dot)/lisp # How to run Emacs. RUN_EMACS = "$(BUILT_EMACS)" -batch --no-init-file --no-site-file --multibyte # Subdirectories to be made if $(srcdir) is different from the current # directory. SUBDIRS=quail # Files generated from TIT dictionaries for Chinese GB character set. TIT_GB=\ quail/CTLau.el \ quail/CCDOSPY.el \ quail/Punct.el \ quail/PY.el \ quail/QJ.el \ quail/SW.el \ quail/TONEPY.el \ quail/ZIRANMA.el # Files generated from TIT dictionaries for Chinese BIG5 character set. TIT_BIG5=\ quail/4Corner.el \ quail/ARRAY30.el \ quail/CTLauB.el \ quail/ECDICT.el \ quail/ETZY.el \ quail/Punct-b5.el \ quail/PY-b5.el \ quail/QJ-b5.el \ quail/ZOZY.el CHINESE_TIT=$(TIT_GB) $(TIT_BIG5) NON_TIT_GB=$(srcdir)/quail/py-punct.el NON_TIT_BIG5=$(srcdir)/quail/quick-b5.el $(srcdir)/quail/tsang-b5.el \ $(srcdir)/quail/pypunct-b5.el NON_TIT_CNS=$(srcdir)/quail/quick-cns.el $(srcdir)/quail/tsang-cns.el CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5) $(NON_TIT_CNS) CHINESE_GB=$(TIT_GB) $(NON_TIT_GB) CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5) CHINESE_CNS=$(NON_TIT_CNS) JAPANESE=$(srcdir)/quail/japanese.el $(srcdir)/ja-dic/ja-dic.el KOREAN= $(srcdir)/quail/hangul.el \ $(srcdir)/quail/hangul3.el \ $(srcdir)/quail/hanja.el \ $(srcdir)/quail/hanja-jis.el \ $(srcdir)/quail/symbol-ksc.el THAI=$(srcdir)/quail/thai.el VIETNAMESE=$(srcdir)/quail/viqr.el LAO=$(srcdir)/quail/lao.el $(srcdir)/quail/lrt.el INDIAN=$(srcdir)/quail/devanagari.el TIBETAN=$(srcdir)/quail/tibetan.el LATIN=$(srcdir)/quail/latin-pre.el $(srcdir)/quail/latin-post.el SLAVIC= \ $(srcdir)/quail/czech.el \ $(srcdir)/quail/slovak.el GREEK=$(srcdir)/quail/greek.el RUSSIAN=$(srcdir)/quail/cyrillic.el $(srcdir)/quail/cyril-jis.el MISC= \ $(srcdir)/quail/ethiopic.el \ $(srcdir)/quail/ipa.el \ $(srcdir)/quail/hebrew.el CHINESE=$(CHINESE_GB) $(CHINESE_BIG5) $(CHINESE_CNS) EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN) ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN) EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN) WORLD=$(ASIA) $(EUROPEAN) $(MISC) TIT=$(CHINESE_TIT) NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC) all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) leim-list.el # To ensure that we can run Emacs. This target is ignored (never # being hit) if a user changes default value of EMACS. $(dot)$(dot)/src/emacs: cd ../src; $(MAKE) $(MFLAGS) emacs $(SUBDIRS): mkdir "$@" echo stamp>stamp-subdir # Rule to generate quail/*.el from CXTERM-DIC/*.tit. $(TIT): # if not exist quail $(MAKE) quail set emacs_dir=$(INSTALL_DIR) $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \ --eval $(ARGQUOTE)(batch-titdic-convert t)$(ARGQUOTE) -dir quail $(srcdir)/CXTERM-DIC $(RUN_EMACS) -l $(buildlisppath)/international/quail \ -f batch-byte-compile $(TIT) leim-list.el: $(SUBDIRS) $(WORLD) set emacs_dir=$(INSTALL_DIR) $(RUN_EMACS) -l $(buildlisppath)/international/quail \ --eval $(ARGQUOTE)(update-leim-list-file $(DQUOTE).$(DQUOTE))$(ARGQUOTE) install: all - mkdir "$(INSTALLDIR)" - $(DEL) same-dir.tst - $(DEL) $(INSTALL_DIR)/same-dir.tst echo SameDirTest > $(INSTALL_DIR)/same-dir.tst $(IFNOTSAMEDIR) $(CP) leim-list.el $(INSTALLDIR) $(ENDIF) $(IFNOTSAMEDIR) $(CP_DIR) quail $(INSTALLDIR) $(ENDIF) $(IFNOTSAMEDIR) $(CP_DIR) ja-dic $(INSTALLDIR) $(ENDIF) - $(DEL) $(INSTALL_DIR)/same-dir.tst clean mostlyclean: $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR)c $(ENDFOR) $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR) $(DEL) leim-list.el distclean maintainer-clean: if exist stamp-subdir $(DELTREE) $(SUBDIRS) $(DEL) stamp-subdir