[saga] 02/02: Explicitly remove files not to be installed.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Mar 5 01:45:30 UTC 2016


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

sebastic pushed a commit to branch master
in repository saga.

commit 356a52fdb0ffe298bdc5724ed599629b5ad29737
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Mar 5 01:25:15 2016 +0100

    Explicitly remove files not to be installed.
---
 debian/changelog | 1 +
 debian/rules     | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a1e80f5..2335c7a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ saga (2.2.5+dfsg-1) UNRELEASED; urgency=medium
   * Override dh_install to use --list-missing.
   * Remove executable bit from saga_gui resource files.
   * Move architecture independent files to saga-common package.
+  * Explicitly remove files not to be installed.
 
  -- Johan Van de Wauw <johan at vandewauw.be>  Fri, 04 Mar 2016 17:34:50 +0100
 
diff --git a/debian/rules b/debian/rules
index d3fb9c4..b27b459 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,6 +54,13 @@ override_dh_auto_install:
 	# Remove executable bit from resource files
 	chmod -x debian/*/usr/share/saga/*.*
 
+	# Explicitly remove files not to be installed
+	find $(CURDIR)/debian/tmp/usr/lib -name "*.a" -delete
+	find $(CURDIR)/debian/tmp/usr/lib -name "*.la" -delete
+	find $(CURDIR)/debian/tmp/usr/lib -name "*.pyc" -delete
+	find $(CURDIR)/debian/tmp/usr/lib -name "*.pyo" -delete
+	$(RM) -r $(CURDIR)/debian/tmp/usr/include
+
 override_dh_install:
 	dh_install --list-missing
 

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



More information about the Pkg-grass-devel mailing list