summaryrefslogtreecommitdiff
path: root/leim
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2006-09-28 05:46:00 +0000
committerKenichi Handa <handa@m17n.org>2006-09-28 05:46:00 +0000
commitd66c308f261722821c5dce88a4ea8dece90e8794 (patch)
treeb8f9acc03859dcc9422dd0f00550c0fb4f7b2372 /leim
parent6fbf0fee4286ffc93956833614833b4384b7bd84 (diff)
downloademacs-d66c308f261722821c5dce88a4ea8dece90e8794.tar.gz
(install): Be sure to make ${INSTALLDIR}.
Diffstat (limited to 'leim')
-rw-r--r--leim/Makefile.in8
1 files 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 \