diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-08-27 21:17:52 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-08-27 21:17:52 +0200 |
commit | 1af57210e2e55d40eb39a274fcf48779c6b9e7d5 (patch) | |
tree | 55c22bbd35462f1c940b24614af05ea07bcd7f35 /ubuntu/raring/dependencies/sip4-tqt/debian/rules | |
parent | af8c5ead9ac4c1ece3408b74224e5e273b6994ce (diff) | |
parent | 2d0d0ba99b507cab093962cb910ddc7dd4755c94 (diff) | |
download | tde-packaging-1af57210e2e55d40eb39a274fcf48779c6b9e7d5.tar.gz tde-packaging-1af57210e2e55d40eb39a274fcf48779c6b9e7d5.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/raring/dependencies/sip4-tqt/debian/rules')
-rwxr-xr-x | ubuntu/raring/dependencies/sip4-tqt/debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ubuntu/raring/dependencies/sip4-tqt/debian/rules b/ubuntu/raring/dependencies/sip4-tqt/debian/rules index 2286739d5..9073bd22f 100755 --- a/ubuntu/raring/dependencies/sip4-tqt/debian/rules +++ b/ubuntu/raring/dependencies/sip4-tqt/debian/rules @@ -19,6 +19,9 @@ endif PYTHONS := $(shell pyversions -vr debian/control) +DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport) +DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2 --no-dbg-cleaning,dh_pysupport) + -include /usr/share/python/python.mk ifeq (,$(py_sitename)) py_sitename = site-packages @@ -132,7 +135,7 @@ ifneq (,$(findstring -a, $(DH_OPTIONS))) endif dh_compress dh_fixperms - dh_pysupport + ${DH_PYTHON2} dh_installdeb dh_shlibdeps dh_gencontrol |