[med-svn] [ismrmrd] 01/07: d/rules: simplify rules

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Sep 24 08:57:06 UTC 2015


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

ghisvail-guest pushed a commit to branch master
in repository ismrmrd.

commit f7d9fe7acc704ddc871192cd8d7c935c0e59e942
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Sep 22 16:27:45 2015 +0100

    d/rules: simplify rules
---
 debian/rules | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/debian/rules b/debian/rules
index 95980b0..bf9471c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,24 +9,14 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-# Environment settings.
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
-
 %:
-	dh $@ --builddirectory=$(BUILDDIR) --parallel
+	dh $@ --parallel
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DUSE_SYSTEM_PUGIXML=ON
 
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -rf $(BUILDDIR)
-
 override_dh_auto_build:
 	dh_auto_build
 	# Make doc
-	cd $(BUILDDIR) && $(MAKE) apidoc
+	$(MAKE) -C obj-* apidoc

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



More information about the debian-med-commit mailing list