diff options
author | François Andriot <albator78@libertysurf.fr> | 2013-09-11 21:42:05 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2013-09-11 21:42:05 +0200 |
commit | d8260a6ce3beb4f6aa74e66f9f9b56995a36d79e (patch) | |
tree | c9ce19741b0d33903ac7e6e267c5bcdeab17da8f /ubuntu/maverick/libraries/python-trinity/debian/rules | |
parent | d27e5e6838cded96c7f11370af49a74f5bab0aa8 (diff) | |
parent | e52ee671cbb3dfd521892b659f54cb4e647aca3d (diff) | |
download | tde-packaging-d8260a6ce3beb4f6aa74e66f9f9b56995a36d79e.tar.gz tde-packaging-d8260a6ce3beb4f6aa74e66f9f9b56995a36d79e.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/libraries/python-trinity/debian/rules')
-rwxr-xr-x | ubuntu/maverick/libraries/python-trinity/debian/rules | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ubuntu/maverick/libraries/python-trinity/debian/rules b/ubuntu/maverick/libraries/python-trinity/debian/rules index d4dac70f3..473caac7d 100755 --- a/ubuntu/maverick/libraries/python-trinity/debian/rules +++ b/ubuntu/maverick/libraries/python-trinity/debian/rules @@ -14,7 +14,6 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) -include /usr/share/dpatch/dpatch.make # This has to be exported to make some magic below work. export DH_OPTIONS export QTDIR=/usr/share/qt3 @@ -31,8 +30,7 @@ endif PYTHONS := $(shell pyversions -vr debian/control) DBG_PYTHONS := $(shell pyversions -vd) -DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport) -DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport) +DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_python) GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p') ifneq (,$(filter $(GCCVER),4.2 4.3)) @@ -45,7 +43,7 @@ endif configure: $(PYTHONS:%=build-%/configure-stamp) $(DBG_PYTHONS:%=dbg-build-%/configure-stamp) -build-%/configure-stamp: patch-stamp +build-%/configure-stamp: dh_testdir mkdir -p build-$* cd build-$* && python$* ../configure.py \ @@ -53,7 +51,7 @@ build-%/configure-stamp: patch-stamp -v /opt/trinity/share/sip/trinity -j $(SPLIT) touch $@ -dbg-build-%/configure-stamp: patch-stamp +dbg-build-%/configure-stamp: dh_testdir mkdir -p dbg-build-$* cd dbg-build-$* && python$*-dbg ../configure.py \ @@ -73,7 +71,7 @@ dbg-build-%/build-stamp: dbg-build-%/configure-stamp $(MAKE) -C dbg-build-$* touch $@ -clean: unpatch +clean: dh_testdir dh_testroot rm -f *-stamp |