[pmix] 07/16: enable two builds

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Oct 25 13:55:32 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository pmix.

commit 3272b9d754290b70955c781b7e3fedf008a083a1
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Sep 18 16:26:55 2017 +0100

    enable two builds
---
 debian/rules | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7a0d5ae..36e3fe8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,14 +24,15 @@ endif
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -f $(patsubst %, debian/%, ${AUTOGENERATED})
+	rm -rf debian/static-build debian/shared-build
 
 override_dh_auto_configure:
 	./autogen.pl --force
 	for f in ${AUTOGENERATED} ; do \
                 sed -e 's%@TRIPLET@%${DEB_HOST_MULTIARCH}%g' < debian/$$f.in  > debian/$$f ; \
                 done
-	dh_auto_configure -- \
-		$(PSM)  \
-		--enable-static \
+	dh_auto_configure --builddirectory=debian/static-build -- $(PSM) \
+		--enable-static 
+	dh_auto_configure --builddirectory=debian/shared-build -- $(PSM) \
 		--enable-shared
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pmix.git



More information about the debian-science-commits mailing list