From d61c3b641cd96ac5f40852e5eb7e205545887dcc Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 8 Jul 2009 13:55:58 +0000 Subject: Provide PY_COMPILE_ALL and PY_COMPILE_O_ALL to compile all Python sources in a directory (tree) in pversion.mk. Adjust the various places that called it locally. --- databases/py-metakit/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'databases/py-metakit') diff --git a/databases/py-metakit/Makefile b/databases/py-metakit/Makefile index 4c2e76839f1..5be3ad86faa 100644 --- a/databases/py-metakit/Makefile +++ b/databases/py-metakit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2009/02/11 21:00:49 joerg Exp $ +# $NetBSD: Makefile,v 1.23 2009/07/08 13:55:58 joerg Exp $ # DISTNAME= metakit-2.4.9.7 @@ -27,12 +27,10 @@ INSTALL_TARGET= install-python MAKE_ENV+= PYINC=${LOCALBASE}/${PYINC} PYSITELIB=${LOCALBASE}/${PYSITELIB} PY_PATCHPLIST= yes -PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py - INSTALLATION_DIRS+= ${PYSITELIB} post-build: - cd ${WRKSRC}/python && ${PYTHONBIN} ${PYCOMPILEALL} . + cd ${WRKSRC}/python && ${PY_COMPILE_ALL} . post-install: ${INSTALL_DATA} ${WRKSRC}/python/metakit.pyc ${DESTDIR}${PREFIX}/${PYSITELIB} -- cgit v1.2.3