Mercurial > emacs
changeset 73339:244f3f60f9dd
(install): Be sure to make ${INSTALLDIR} before `cd' to it.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 12 Oct 2006 05:52:59 +0000 |
parents | 29f3017ad6fa |
children | 65eb789f2f42 |
files | leim/Makefile.in |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/leim/Makefile.in Thu Oct 12 03:53:57 2006 +0000 +++ b/leim/Makefile.in Thu Oct 12 05:52:59 2006 +0000 @@ -216,13 +216,12 @@ 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 \