[libosmium] 05/06: Override dh_installexamples to remove executable bit from .cpp files.

Bas Couwenberg sebastic at debian.org
Thu Sep 15 14:03:14 UTC 2016


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

sebastic pushed a commit to branch master
in repository libosmium.

commit 6942e7af96d1d1f833bea516f93120354c143c55
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Sep 15 15:51:42 2016 +0200

    Override dh_installexamples to remove executable bit from .cpp files.
---
 debian/changelog | 1 +
 debian/rules     | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 911fa40..f770805 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ libosmium (2.9.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Include NOTES_FOR_DEVELOPERS.md in docs.
+  * Override dh_installexamples to remove executable bit from .cpp files.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 15 Sep 2016 15:21:35 +0200
 
diff --git a/debian/rules b/debian/rules
index 02fdceb..755aa91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,3 +43,9 @@ override_dh_installdocs:
 	# Remove useless autogenerated doxygen file
 	$(RM) debian/*/usr/share/doc/*/html/*.md5
 
+override_dh_installexamples:
+	dh_installexamples
+	
+	# Remove executable bit from .cpp files
+	chmod 0644 debian/*/usr/share/doc/*/examples/*.cpp
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/libosmium.git



More information about the Pkg-grass-devel mailing list