summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/desktop-effects-kde/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/applications/desktop-effects-kde/debian/rules')
-rwxr-xr-xubuntu/maverick/applications/desktop-effects-kde/debian/rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/ubuntu/maverick/applications/desktop-effects-kde/debian/rules b/ubuntu/maverick/applications/desktop-effects-kde/debian/rules
index 8eee42e6a..25fa64a44 100755
--- a/ubuntu/maverick/applications/desktop-effects-kde/debian/rules
+++ b/ubuntu/maverick/applications/desktop-effects-kde/debian/rules
@@ -1,5 +1,8 @@
#!/usr/bin/make -f
+DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
+DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
+
include /usr/share/cdbs/1/rules/debhelper.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde
@@ -13,4 +16,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
binary-install/desktop-effects-kde-trinity::
- dh_pycentral -pdesktop-effects-kde-trinity
+ ${DH_PYTHON2} -pdesktop-effects-kde-trinity