aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-05 05:37:29 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-05 05:37:29 +0000
commit4ce93aa22c8861ebf9e3f57f608b830f326ed8fe (patch)
treedfb249ee03bd37ad2223899d6da1389c64271e56
parentc2d6314b3273210871ce14ab70887d98c2db0b0b (diff)
added override_dh_strip target from pd-wiimote to strip things properly
svn path=/trunk/externals/ext13/; revision=13978
-rwxr-xr-xdebian/rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index be51247..3a0dcc8 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