Mercurial > emacs
changeset 73145:59311355a135
(install): Be sure to make ${INSTALLDIR}.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 28 Sep 2006 05:46:00 +0000 |
parents | cf850b42647d |
children | 59f4b806d577 |
files | leim/Makefile.in |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/leim/Makefile.in Thu Sep 28 02:26:45 2006 +0000 +++ b/leim/Makefile.in Thu Sep 28 05:46:00 2006 +0000 @@ -217,8 +217,12 @@ 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 \