[SCM] pd-pmpd/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:48:04 UTC 2010
The following commit has been merged in the master branch:
commit 93c71d2202ce4a0b59803aeb988394696cf6267f
Author: Hans-Christoph Steiner <hans at eds.org>
Date: Sun Sep 5 01:47:57 2010 -0400
added override_dh_strip target to strip things properly
diff --git a/debian/rules b/debian/rules
index d320ca4..43d9a0e 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
@@ -20,3 +20,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-pmpd packaging
More information about the pkg-multimedia-commits
mailing list