[pkg-db-commits] [db5.3] 08/09: Only install build_signature_*.txt when building it. (Closes: #752368) (Courtesy of Helmut Grohne)

Ondrej Sury ondrej at moszumanska.debian.org
Mon Jun 23 13:39:59 UTC 2014


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

ondrej pushed a commit to branch debian-sid
in repository db5.3.

commit b78f09f43f0b38ef210d69e4cf0508da5c1959a1
Author: Ondřej Surý <ondrej at sury.org>
Date:   Mon Jun 23 14:35:57 2014 +0200

    Only install build_signature_*.txt when building it. (Closes: #752368) (Courtesy of Helmut Grohne)
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index b88d221..495edb6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -231,8 +231,10 @@ endif
 override_dh_installdocs:
 	dh_installdocs -pdb5.3-doc
 	dh_installdocs --remaining-packages --link-doc=libdb5.3
+ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
 	# Install build_signature_$(DEB_HOST_ARCH).txt to docs
 	install -m 644 debian/build_signature_$(DEB_HOST_ARCH).txt $(CURDIR)/debian/libdb5.3/usr/share/doc/libdb5.3/
+endif
 
 override_dh_strip:
 	dh_strip -s --dbg-package=libdb5.3-dbg

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-db/db5.3.git



More information about the pkg-db-commits mailing list