summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/tde-guidance/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-01-30 20:19:21 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-01-30 20:19:21 +0100
commit1e2672ad64a3a6bee8e12dd2496a85ddc80768a6 (patch)
treec72c3e1d875a1bc747ca05400ccda8aaaf7ad7ec /ubuntu/maverick/applications/tde-guidance/debian/rules
parent65a078c0bcb64fc1a2bc14389e08692bbf99094b (diff)
downloadtde-packaging-1e2672ad64a3a6bee8e12dd2496a85ddc80768a6.tar.gz
tde-packaging-1e2672ad64a3a6bee8e12dd2496a85ddc80768a6.zip
Switch remaining packages to dh_python2 on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/maverick/applications/tde-guidance/debian/rules')
-rw-r--r--ubuntu/maverick/applications/tde-guidance/debian/rules10
1 files changed, 7 insertions, 3 deletions
diff --git a/ubuntu/maverick/applications/tde-guidance/debian/rules b/ubuntu/maverick/applications/tde-guidance/debian/rules
index 217eea9ed..656eac6d4 100644
--- a/ubuntu/maverick/applications/tde-guidance/debian/rules
+++ b/ubuntu/maverick/applications/tde-guidance/debian/rules
@@ -1,13 +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