diff options
Diffstat (limited to 'debian/lenny/applications/tde-guidance/debian/rules')
-rwxr-xr-x | debian/lenny/applications/tde-guidance/debian/rules | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/debian/lenny/applications/tde-guidance/debian/rules b/debian/lenny/applications/tde-guidance/debian/rules index 566bf8ee1..d772962be 100755 --- a/debian/lenny/applications/tde-guidance/debian/rules +++ b/debian/lenny/applications/tde-guidance/debian/rules @@ -1,10 +1,17 @@ #!/usr/bin/make -f -DEB_PYTHON_SYSTEM = pysupport +DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_pysupport),pysupport) +DEB_PYTHON2_MODULE_PACKAGES=tde-guidance-trinity guidance-backends-trinity +PYSUPPORT_INST_PATH = /opt/trinity/share/python-support +GUIDANCE_INST_PATH = $(PYSUPPORT_INST_PATH)/tde-guidance-trinity +export EXTRA_MODULE_DIR=$(GUIDANCE_INST_PATH) include /usr/share/cdbs/1/rules/debhelper.mk -#include /usr/share/cdbs/1/class/python-distutils.mk -include debian/python-distutils-jaunty.mk +ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) + include debian/python-distutils-jaunty.mk +else + include /usr/share/cdbs/1/class/python-distutils.mk +endif include /usr/share/cdbs/1/rules/patchsys-quilt.mk include /usr/share/cdbs/1/rules/utils.mk |