[med-svn] [odil] 01/01: debian/rules: create the build directory if not present when doing build-indep

Mattia Rizzolo mattia at debian.org
Fri Apr 22 13:22:34 UTC 2016


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

mattia pushed a commit to branch master
in repository odil.

commit 7f5c36fbd22e55e035c60f49a4e1238a9df9d6e0
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Apr 22 13:16:31 2016 +0000

    debian/rules: create the build directory if not present when doing build-indep
    
    For the full build it's created in the configure target.
    
    Also, be a bit more verbose in the mv and the mkdir, so the action can be seen
    in the build log.
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index bfc9d12..6b22852 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 	dh $@ --builddirectory=build --parallel --with python2
 
 override_dh_auto_build-indep:
-	doxygen && mv doc build
+	mkdir -pv build
+	doxygen && mv -v doc build
 
 override_dh_auto_test-arch:
 	cd build && ../tests/run --no-network

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



More information about the debian-med-commit mailing list