Mercurial > emacs
view leim/Makefile.in @ 20979:38e7bcbb3595
(reftex-toc-mode, reftex-select-label-mode):
(reftex-select-bib-mode): New major modes for RefTeX's special
buffers.
(reftex-offer-label-menu): Put selection buffer into
`reftex-select-label-mode'. Make selection buffer read-only. Use
`reftex-erase-buffer'.
(reftex-do-citation): Put selection buffer into
`reftex-select-bib-mode'. Make selection buffer read-only. Use
`reftex-erase-buffer'. Set `reftex-select-return-marker'.
(reftex-toc): Put *toc* buffer into reftex-toc-mode. Add
mouse-face property.
(reftex-select-item): Use recursive edit instead of selfmade
command loop. Removed unnecessary local bindings. Changed the
tag for catch, to avoid problems with `exit' tag in
recursive-edit. Moved the code around old command loop to pre-
and post-command-hook.
(reftex-select-pre-command-hook, reftex-select-post-command-hook):
(reftex-select-show-insertion-point): New functions.
(reftex-reference): Set `reftex-select-return-marker'.
(reftex-check-recursive-edit): Error message changed.
(reftex-select-search-minibuffer-map): Obsolete constant removed.
(reftex-select-next, reftex-select-previous, reftex-select-scroll-up):
(reftex-select-scroll-down, reftex-select-next-heading):
(reftex-select-previous-heading): Handle prefix arguments.
(reftex-toc, reftex-make-and-insert-label-list):
(reftex-insert-bib-matches): Add mouse-face property.
(reftex-highlight-selection): New option.
(reftex-select-mouse-accept): New command.
(reftex-select-recursive-edit, reftex-select-search-forward):
(reftex-select-search-backward, reftex-select-search):
(reftex-select-scroll-up, reftex-select-scroll-down):
(reftex-scroll-other-window, reftex-scroll-other-window-down):
(reftex-empty-toc-buffer): Removed obsolete functions.
(reftex-highlight-overlays): Removed obsolete 3rd overlay.
(reftex-select-label-map, reftex-select-bib-map): Removed obsolete
bindings, added mouse bindings, `digit-argument',
`negative-argument', `reftex-select-show-insertion-point'.
(reftex-erase-buffer): BUFFER now defaults to current buffer.
(reftex-label-alist-builtin): Added sidecap packages support.
(reftex-last-follow-point, reftex-select-return-marker): New
variables.
(reftex-toc, reftex-select-item): Set `reftex-last-follow-point'.
(reftex-toc-post-command-hook): Use `reftex-last-follow-point'.
(reftex-get-file-buffer-force): Turn off `enable-local-variables'
when reading a file literally.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 25 Feb 1998 23:05:37 +0000 |
parents | b5a6887b97d8 |
children | c3f53005d2d9 |
line wrap: on
line source
# Makefile for leim subdirectory in GNU Emacs. # 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. # Avoid trouble on systems where the `SHELL' variable might be # inherited from the environment. SHELL = /bin/sh # Here are the things that we expect ../configure to edit. version=@version@ prefix=@prefix@ datadir=@datadir@ srcdir=@srcdir@ # Where to install LEIM files. INSTALLDIR=${datadir}/emacs/${version}/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. EMACS = ${dot}${dot}/src/emacs buildlisppath=${srcdir}/${dot}${dot}/lisp # How to run Emacs. RUN-EMACS = ${EMACS} -batch --no-init-file --no-site-file # 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=quail/py-punct.el NON-TIT-BIG5=quail/quick-b5.el quail/tsang-b5.el quail/pypunct-b5.el NON-TIT-CNS=quail/quick-cns.el 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=quail/japanese.el skk/skkdic.el KOREAN= quail/hangul.el \ quail/hangul3.el \ quail/hanja.el \ quail/hanja-jis.el \ quail/symbol-ksc.el THAI=quail/thai.el VIETNAMESE=quail/viqr.el LAO=quail/lao.el quail/lrt.el INDIAN=quail/devanagari.el TIBETAN=quail/tibetan.el LATIN=quail/latin-pre.el quail/latin-post.el GREEK=quail/greek.el RUSSIAN=quail/cyrillic.el quail/cyril-jis.el MISC=quail/ethiopic.el quail/ipa.el CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS} EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN} ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN} EUROPEAN=${LATIN} ${GREEK} ${RUSSIAN} WORLD=${ASIA} ${EUROPEAN} ${MISC} TIT=${CHINESE-TIT} NON-TIT=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${MISC} all: ${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 $@ touch stamp-subdir # Rule to generate quail/*.el from CXTERM-DIC/*.tit. ${TIT}: [ -d quail ] || mkdir quail ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \ --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC ${RUN-EMACS} -f batch-byte-compile ${TIT} leim-list.el: ${SUBDIRS} ${TIT} if [ x`(cd ${srcdir}; /bin/pwd)` = x`(/bin/pwd)` ] ; then \ ${RUN-EMACS} -l ${buildlisppath}/international/quail \ --eval "(update-leim-list-file \".\")" ; \ else \ ${RUN-EMACS} -l ${buildlisppath}/international/quail \ --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \ fi install: all if [ x`(cd ${INSTALLDIR}; /bin/pwd)` != x`(/bin/pwd)` ] ; then \ rm -rf ${INSTALLDIR}/leim-list.el; \ rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/skk ; \ echo "Copying leim files to ${INSTALLDIR} ..." ; \ if [ x`(cd ${srcdir}; /bin/pwd)` = x`(/bin/pwd)` ] ; then \ tar -cf - leim-list.el quail skk \ | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ else \ tar -cf - leim-list.el quail \ | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ cd ${srcdir}; \ tar -cf - quail/* skk \ | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ fi; \ else true; fi clean mostlyclean: ELC=`echo ${TIT} | sed 's/\.el/.elc/g'`; \ rm -f ${TIT} $$ELC leim-list.el distclean maintainer-clean: if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi rm -f Makefile