]> code.delx.au - gnu-emacs/blobdiff - leim/Makefile.in
Merge from emacs--rel--22
[gnu-emacs] / leim / Makefile.in
index 2ce3503e6ee660979d5170bddaf2a13a91e4d797..731f0d55312ae128b40bc03708070d8ecd790f36 100644 (file)
@@ -33,6 +33,7 @@ prefix=@prefix@
 datarootdir=@datarootdir@
 datadir=@datadir@
 srcdir=@srcdir@
+ns_appresdir=@ns_appresdir@
 
 # Where to install LEIM files.
 INSTALLDIR=$(DESTDIR)${datadir}/emacs/${version}/leim
@@ -90,7 +91,6 @@ CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5}
 JAPANESE=${srcdir}/quail/japanese.elc ${srcdir}/ja-dic/ja-dic.elc
 
 KOREAN=        ${srcdir}/quail/hangul.elc      \
-       ${srcdir}/quail/hangul3.elc     \
        ${srcdir}/quail/hanja.elc       \
        ${srcdir}/quail/hanja3.elc      \
        ${srcdir}/quail/hanja-jis.elc   \
@@ -154,7 +154,8 @@ NON-TIT-MISC=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${OTHERS}
 .SUFFIXES: .elc .el
 
 .el.elc:
-       ${RUN-EMACS} -f batch-byte-compile $<
+       @echo Compiling $<
+       @${RUN-EMACS} -f batch-byte-compile $<
 
 all: ${BUILT-EMACS} ${SUBDIRS} leim-list.el ${WORLD}
 
@@ -207,6 +208,7 @@ changed.misc: ${MISC-SOURCES}
          echo "changed" > $@
 
 leim-list.el: ${SUBDIRS} ${TIT-MISC} changed.tit changed.misc ${srcdir}/leim-ext.el
+       rm -rf leim-list.el
        ${RUN-EMACS}  -l ${buildlisppath}/international/quail \
          -f batch-byte-compile-if-not-done ${TIT-MISC:.elc=.el}
        if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
@@ -258,6 +260,11 @@ install: all
          [ -n "$${installuser}" ] && break ; \
        done ; \
        find ${INSTALLDIR} -exec chown $${installuser} '{}' ';'
+       if [ "${ns_appresdir}" != "" ]; then \
+         ( cd ${ns_appresdir} ; \
+           if test -d share/emacs ; then mv -f share/emacs/*/* . ; fi ; \
+           rm -fr share ) ; \
+       else true ; fi
 
 clean mostlyclean:
        rm -f ${TIT-MISC} ${TIT-MISC:.elc=.el} \