diff --git a/apps/mailbox/Makefile b/apps/mailbox/Makefile index 63f03852..b66e9cdb 100644 --- a/apps/mailbox/Makefile +++ b/apps/mailbox/Makefile @@ -4,7 +4,7 @@ VERSION=2.2.0-1 PYTHON_VERSION=2.3 -LIBDIR=. +LIBDIR=imap_mailbox LIB_INSTALLDIR="/usr/lib/sems/ivr" TARBALL_PREFIX=sems-app-${NAME} TARBALL="${TARBALL_PREFIX}-${VERSION}.tar.gz" @@ -32,7 +32,9 @@ compile: install: all install -d ${BASEDIR}/${LIB_INSTALLDIR} - install -m ${LIB_PERMISSIONS} -o ${OWNER} -g ${GROUP} ${LIBDIR}/*.pyc ${BASEDIR}/${LIB_INSTALLDIR} + install -m ${LIB_PERMISSIONS} -o ${OWNER} -g ${GROUP} *.pyc ${BASEDIR}/${LIB_INSTALLDIR} + install -d ${BASEDIR}/${LIB_INSTALLDIR}/${LIBDIR} + install -m ${LIB_PERMISSIONS} -o ${OWNER} -g ${GROUP} ${LIBDIR}/*.pyc ${BASEDIR}/${LIB_INSTALLDIR}/${LIBDIR} uninstall: @echo "please remove the files from ${LIB_INSTALLDIR} manually."