diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-05 05:37:29 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-05 05:37:29 +0000 |
commit | 14e6eebe0f7b80f55db42188ec296243e1e62350 (patch) | |
tree | 1aca1fb9a5ef1682bfb6297a115e31ed5b262ba7 | |
parent | e2deb1ddab7e9a7f87e0618ae18ffb864853c517 (diff) |
added override_dh_strip target from pd-wiimote to strip things properly
svn path=/trunk/externals/earplug~/; revision=13978
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 6b70b5b..ea92d4b 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ PACKAGE = pd-earplug 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 |