[med-svn] [sleepyhead] 02/03: Workaround #800738; mkdir build directory before configure kicks in.

Sergio Durigan Junior sergiodj-guest at moszumanska.debian.org
Mon Oct 12 03:11:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

sergiodj-guest pushed a commit to branch master
in repository sleepyhead.

commit c18edcd16365ca5e8bc05f517b48ea3dd4fa0a64
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date:   Sun Oct 11 23:06:37 2015 -0400

    Workaround #800738; mkdir build directory before configure kicks in.
---
 debian/rules | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 0af531b..9ba474a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,11 +9,15 @@ include /usr/share/dpkg/default.mk
 # Needed for selecting qmake-qt5
 export QT_SELECT = qt5
 
+MY_BUILDDIR = _build/
+
 %:
-	dh $@ --buildsystem=qmake --builddirectory=_build/
+	dh $@ --buildsystem=qmake --builddirectory=$(MY_BUILDDIR)
 
 # Override dh_auto_configure in order to call qmake on the parent dir.
+# We call mkdir here because of #800738.
 override_dh_auto_configure:
+	@mkdir -p $(MY_BUILDDIR)
 	dh_auto_configure -- ..
 
 # Upstream ships with a 'history' directory containing ancient code.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sleepyhead.git



More information about the debian-med-commit mailing list