You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/apps/conf_auth/Makefile

54 lines
1.0 KiB

NAME=conf_auth
VERSION=2.2.0-1
PYTHON_VERSION=2.3
LIB_INSTALLDIR="/usr/lib/sems/ivr"
TARBALL_PREFIX=sems-app-${NAME}
TARBALL="${TARBALL_PREFIX}-${VERSION}.tar.gz"
BASEDIR?=${basedir}
GROUP="root"
OWNER="root"
BIN_PERMISSIONS="755"
LIB_PERMISSIONS="644"
PYCHECKERARGS = --stdlib
PYCHECKERDOCARGS = --classdoc --funcdoc
.PHONY: all
all: clean compile
clean:
find . -iname "*\.pyc" -o -iname "*\.py~" | xargs rm -f
rm -f ${TARBALL_PREFIX}*.tar.gz
compile:
/usr/bin/python${PYTHON_VERSION} /usr/lib/python${PYTHON_VERSION}/compileall.py -q .
install: all
install -d ${BASEDIR}/${LIB_INSTALLDIR}
install -m ${LIB_PERMISSIONS} -o ${OWNER} -g ${GROUP} *.pyc ${BASEDIR}/${LIB_INSTALLDIR}
uninstall:
@echo "please remove the files from ${LIB_INSTALLDIR} manually."
fulltest:
find | grep /Test | grep -v ".svn" | grep \\.py$$ | sed -e "s#^./##g" | bash -e -
check:
@echo "nothing to check."
doccheck:
@echo "nothing to doccheck."
dist: all
tar -cvzf ${TARBALL} . --exclude=*.tar.gz \
--exclude=.svn \
--exclude=*~