[Pkg-gnupg-commit] [libgpg-error] 05/08: build out-of-tree for cleanliness

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Feb 9 04:45:11 UTC 2016


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

dkg pushed a commit to branch master
in repository libgpg-error.

commit b5a9270e1ba06d6ebb262a4dd3293a0ab3970a54
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Mon Feb 8 22:51:11 2016 -0500

    build out-of-tree for cleanliness
---
 debian/changelog |  6 ++++++
 debian/clean     |  1 +
 debian/rules     | 11 +++++++----
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bb0e06f..667e869 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libgpg-error (1.21-2) UNRELEASED; urgency=medium
+
+  * build out-of-tree for cleanliness
+
+ -- Daniel Kahn Gillmor <dkg at fifthhorseman.net>  Mon, 08 Feb 2016 22:50:50 -0500
+
 libgpg-error (1.21-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/clean b/debian/clean
index 09ae707..b5d50fc 100644
--- a/debian/clean
+++ b/debian/clean
@@ -2,3 +2,4 @@ debian/libgpg-error0.install
 debian/libgpg-error-dev.install
 po/*.gmo
 po/stamp-po
+build/
diff --git a/debian/rules b/debian/rules
index 9d67fe7..dc83d34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,18 +7,21 @@ export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 override_dh_auto_configure:
 	touch po/libgpg-error.pot
-	dh_auto_configure -- \
+	dh_auto_configure --builddirectory=build -- \
 	    --enable-static \
 	    --disable-rpath \
 	    --infodir=\$${prefix}/share/info \
 	    --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
 
-override_dh_auto_build:
-	dh_auto_build --parallel
+override_dh_auto_build-arch:
+	dh_auto_build --parallel --builddirectory=build
 ifeq ($(DEB_HOST_MULTIARCH),$(DEB_BUILD_MULTIARCH))
-	tail -vn+0 src/lock-obj-pub.native.h
+	tail -vn+0 build/src/lock-obj-pub.native.h
 endif
 
+override_dh_auto_install-arch:
+	dh_auto_install --parallel --builddirectory=build
+
 override_dh_install:
 	sed -e"s, at DEB_HOST_MULTIARCH@,${DEB_HOST_MULTIARCH},g" \
 	    debian/libgpg-error0.install.in > debian/libgpg-error0.install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libgpg-error.git



More information about the Pkg-gnupg-commit mailing list