[med-svn] [cain] 03/06: Create solvers dir before building and delete it in clean target

Andreas Tille tille at debian.org
Sat May 28 05:48:51 UTC 2016


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

tille pushed a commit to branch master
in repository cain.

commit 31b3dd3dd839dace190184c2ff258ccb6bec67d1
Author: Andreas Tille <tille at debian.org>
Date:   Thu Dec 17 22:44:52 2015 +0100

    Create solvers dir before building and delete it in clean target
---
 debian/rules | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index f5fbbf2..15fecad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,14 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
 	dh $@ --with python2
 
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf solvers
+
+override_dh_auto_build:
+	mkdir solvers
+	dh_auto_build
+
 override_dh_install-indep:
 	dh_install
 	rm -rf debian/$(pkg)/usr/share/cain/help/* debian/$(pkg)/usr/share/cain/gui/help.htm*

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



More information about the debian-med-commit mailing list