[SCM] pd-pmpd/master: updated with Alessio's streamlined dh_auto_install

eighthave-guest at users.alioth.debian.org eighthave-guest at users.alioth.debian.org
Sun Sep 12 17:50:31 UTC 2010


The following commit has been merged in the master branch:
commit 832fe8ce4289b0d0ea335f94e933a2af0d361466
Author: Hans-Christoph Steiner <hans at eds.org>
Date:   Sun Sep 12 13:46:47 2010 -0400

    updated with Alessio's streamlined dh_auto_install

diff --git a/debian/rules b/debian/rules
index 43d9a0e..6a38fef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,10 +5,10 @@ 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
 # generate and install the PDF manual from the OpenOffice source
@@ -17,9 +17,6 @@ override_dh_auto_install:
 		$(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/manual/pmpd.pdf
 
 override_dh_shlibdeps:
-	dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
+	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