From 94461c214f6e31fca97f605d549240f4ae165b85 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 12 Oct 2006 05:53:27 +0000 Subject: [PATCH] (install): Be sure to make ${INSTALLDIR} before `cd' to it. --- leim/ChangeLog | 5 +++++ leim/Makefile.in | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/leim/ChangeLog b/leim/ChangeLog index 5b0a6655d20..7a167953f48 100644 --- a/leim/ChangeLog +++ b/leim/ChangeLog @@ -1,3 +1,8 @@ +2006-10-12 Kenichi Handa + + * Makefile.in (install): Be sure to make ${INSTALLDIR} before `cd' + to it. + 2006-10-05 Chong Yidong * quail/latin-ltx.el: Fix typo in previous change. diff --git a/leim/Makefile.in b/leim/Makefile.in index 0206ebeb62c..3a4467d20ed 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in @@ -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 \ -- 2.39.2