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. --- graphics/dia-python/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'graphics') diff --git a/graphics/dia-python/Makefile b/graphics/dia-python/Makefile index 943ed5ef084..eb50a5b5b0e 100644 --- a/graphics/dia-python/Makefile +++ b/graphics/dia-python/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2009/02/09 22:56:24 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2009/07/08 13:55:59 joerg Exp $ # DIA_SUBPKG= -python @@ -17,10 +17,8 @@ PYTHON_PATCH_SCRIPTS+= sheets/checktrans.py BUILD_DIRS+= ${WRKSRC}/plug-ins/python INSTALL_DIRS+= ${WRKSRC}/plug-ins/python -PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py - post-install: - ${PYTHONBIN} ${PYCOMPILEALL} ${DESTDIR}${PREFIX}/share/dia + ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/dia .include "../../lang/python/application.mk" .include "../../x11/py-gtk2/buildlink3.mk" -- cgit v1.2.3