]> git.eshelyaron.com Git - emacs.git/commitdiff
(install): Be sure to make ${INSTALLDIR}.
authorKenichi Handa <handa@m17n.org>
Thu, 28 Sep 2006 05:46:00 +0000 (05:46 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 28 Sep 2006 05:46:00 +0000 (05:46 +0000)
leim/Makefile.in

index 7f354e7cd759a14568a133afd6fbd1af25042618..b7962887c4067c93e86242153831e88a979f3d09 100644 (file)
@@ -217,8 +217,12 @@ leim-list.el: ${SUBDIRS} ${NON-TIT-MISC} changed.tit changed.misc ${srcdir}/leim
 
 install: all
        if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \
-         rm -rf ${INSTALLDIR}/leim-list.el; \
-         rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \
+         if [ -d ${INSTALLDIR} ] ; then \
+           rm -rf ${INSTALLDIR}/leim-list.el; \
+           rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \
+         else \
+           ${srcdir}/mkinstalldirs ${INSTALLDIR}; \
+         fi; \
          echo "Copying leim files to ${INSTALLDIR} ..." ; \
          if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
            tar -chf - leim-list.el quail ja-dic \