From d66c308f261722821c5dce88a4ea8dece90e8794 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 28 Sep 2006 05:46:00 +0000 Subject: [PATCH] (install): Be sure to make ${INSTALLDIR}. --- leim/Makefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/leim/Makefile.in b/leim/Makefile.in index 7f354e7cd75..b7962887c40 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in @@ -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 \ -- 2.39.2