[SCM] pd-motex/master: added override_dh_strip target to strip things properly

eighthave-guest at users.alioth.debian.org eighthave-guest at users.alioth.debian.org
Sun Sep 5 05:42:40 UTC 2010


The following commit has been merged in the master branch:
commit 396b8133492af0d324cecd673637592b2efb6f9b
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Sun Sep 5 01:42:20 2010 -0400

    added override_dh_strip target to strip things properly

diff --git a/debian/rules b/debian/rules
index 65a452d..e5ec4ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ PACKAGE = pd-$(LIBRARY_NAME)
 pkglibdir = /usr/lib/pd/extra
 
 %:
-	dh $@
+	dh --with quilt $@
 
 override_dh_auto_install:
 	make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) install
@@ -16,3 +16,6 @@ override_dh_shlibdeps:
 	dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
 		-T$(CURDIR)/debian/$(PACKAGE).substvars
 
+override_dh_strip:
+	strip --remove-section=.comment --remove-section=.note --strip-unneeded \
+	   $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux

-- 
pd-motex packaging



More information about the pkg-multimedia-commits mailing list