# Makefile for leim subdirectory in GNU Emacs.
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-# 2006, 2007, 2008
+# 2006, 2007, 2008, 2009
# Free Software Foundation, Inc.
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-# 2006, 2007, 2008
+# 2006, 2007, 2008, 2009
# National Institute of Advanced Industrial Science and Technology (AIST)
# Registration Number H14PRO021
fi
sed -n '/^[^;]/ p' < ${srcdir}/leim-ext.el >> $@
+MV_DIRS = for i in $$dir; do rm -fr $$(basename "$$i") ; mv "$$i" . ; done
+
install: all
if [ ! -d ${INSTALLDIR} ] ; then \
${srcdir}/${dot}${dot}/mkinstalldirs ${INSTALLDIR}; \
find ${INSTALLDIR} -exec chown $${installuser} '{}' ';'
if [ "${ns_appresdir}" != "" ]; then \
( cd ${ns_appresdir} ; \
- if test -d share/emacs ; then mv -f share/emacs/*/* . ; fi ; \
+ if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\
rm -fr share ) ; \
else true ; fi