[geos] 06/07: Explicitly remove geos.h & .inl files, not installed.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Aug 1 18:20:20 UTC 2015


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

sebastic pushed a commit to branch master
in repository geos.

commit e3ffd05f8a13f4ee69dda8c029d21931e0c04f58
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Aug 1 19:53:55 2015 +0200

    Explicitly remove geos.h & .inl files, not installed.
---
 debian/changelog | 1 +
 debian/rules     | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 10591ec..c098ed1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ geos (3.4.2-8) UNRELEASED; urgency=medium
   * Use dh_install --list-missing.
   * Explicitly remove .la files, not installed.
   * Explicitly remove static library for Ruby, not installed.
+  * Explicitly remove geos.h & .inl files, not installed.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 19 Jul 2015 23:36:12 +0200
 
diff --git a/debian/rules b/debian/rules
index 3adff5a..2c61dbe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,6 +75,10 @@ override_dh_install-arch:
 	cp debian/libgeos++-dev.install.in debian/libgeos++-dev.install
 	find debian/tmp/usr/include/geos -name "*.h" -a ! -name "export.h" | sed -e 's/^debian\/tmp\///' >>debian/libgeos++-dev.install
 
+	# Don't install geos.h & .inl files
+	rm -f debian/tmp/usr/include/geos.h
+	find debian/tmp/usr/include/geos -name "*.inl" -delete
+
 	# install PHP module to version specific directory
 	echo 'misc:Depends=phpapi-'$(PHP5API) >> debian/php5-geos.substvars
 

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



More information about the Pkg-grass-devel mailing list