[SCM] pd-motex/master: updated with Alessio's streamlined dh_auto_install, which strips too

eighthave-guest at users.alioth.debian.org eighthave-guest at users.alioth.debian.org
Sun Sep 12 18:08:56 UTC 2010


The following commit has been merged in the master branch:
commit 2723988d311cad70974cb20b18e6b6eb1b75de3d
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Sun Sep 12 14:02:26 2010 -0400

    updated with Alessio's streamlined dh_auto_install, which strips too

diff --git a/debian/rules b/debian/rules
index e5ec4ac..50c1eb5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,17 +5,13 @@ PACKAGE = pd-$(LIBRARY_NAME)
 pkglibdir = /usr/lib/pd/extra
 
 %:
-	dh --with quilt $@
+	dh $@ --buildsystem=makefile
 
 override_dh_auto_install:
-	make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) install
+	dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
 # replace license file with link to the Debian license file
 	rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt
 
 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