]> code.delx.au - gnu-emacs/commitdiff
(install): Be sure to make ${INSTALLDIR} before `cd' to it.
authorKenichi Handa <handa@m17n.org>
Thu, 12 Oct 2006 05:53:27 +0000 (05:53 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 12 Oct 2006 05:53:27 +0000 (05:53 +0000)
leim/ChangeLog
leim/Makefile.in

index 5b0a6655d204100c443adb9fa662bfd6c49d9a10..7a167953f48a87b3280a2fe03171f6126c431cc4 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-12  Kenichi Handa  <handa@m17n.org>
+
+       * Makefile.in (install): Be sure to make ${INSTALLDIR} before `cd'
+       to it.
+
 2006-10-05  Chong Yidong  <cyd@stupidchicken.com>
 
        * quail/latin-ltx.el: Fix typo in previous change.
index 0206ebeb62c9d4a4091324613e725b4de83c6ad5..3a4467d20edf7ac66e641bae3f74d95bfe730efe 100644 (file)
@@ -216,13 +216,12 @@ leim-list.el: ${SUBDIRS} ${NON-TIT-MISC} changed.tit changed.misc ${srcdir}/leim
        sed -n '/^[^;]/ p' < ${srcdir}/leim-ext.el >> $@
 
 install: all
+       if [ ! -d ${INSTALLDIR} ] ; then \
+          ${srcdir}/${dot}${dot}/mkinstalldirs ${INSTALLDIR}; \
+       else true; fi
        if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \
-         if [ -d ${INSTALLDIR} ] ; then \
-           rm -rf ${INSTALLDIR}/leim-list.el; \
-           rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \
-         else \
-           ${srcdir}/${dot}${dot}/mkinstalldirs ${INSTALLDIR}; \
-         fi; \
+         rm -rf ${INSTALLDIR}/leim-list.el; \
+         rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \
          echo "Copying leim files to ${INSTALLDIR} ..." ; \
          if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
            tar -chf - leim-list.el quail ja-dic \