From 8b6e761baac8bb93e631da2e405d3f1e49b01916 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Tue, 1 Aug 2006 02:02:08 +0000 Subject: Packaging changes from ressu git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2019 ce84e21b-d406-0410-9b95-82705330c041 --- debian/rules | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index bcd55d66c..2cb0ecd74 100755 --- a/debian/rules +++ b/debian/rules @@ -17,13 +17,13 @@ include /usr/share/cdbs/1/class/python-distutils.mk DEB_PYTHON_VERSIONS = 2.3 # Since cdbs is able to handle only one python package at once do things here: -#binary-install/bcfg2-server :: binary-install/%: +binary-install/bcfg2-server :: binary-install/%: # Mostly borrowed from /usr/share/cdbs/1/class/python-distutils.mk -#ifdef _cdbs_rules_debhelper -# ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) -# dh_pysupport -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) -# else -# dh_pycentral -pbcfg2-server -# endif -# dh_python -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) -#endif +ifdef DEB_PYTHON_SYSTEM + ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) + dh_pysupport -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) + else + dh_pycentral -pbcfg2-server + endif +endif + dh_python -pbcfg2-server $(DEB_PYTHON_PRIVATE_MODULES_DIRS) -- cgit v1.2.3-1-g7c22