[SCM] pd-comport/master: Don't call make install, rely on dh_auto_install; remove all text files in /usr/lib/ paths.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sun Sep 12 09:21:21 UTC 2010


The following commit has been merged in the master branch:
commit 14f627386b0989e1c0dd26ac5a12b52ccc94546d
Author: Alessio Treglia <alessio at debian.org>
Date:   Sun Sep 12 11:20:48 2010 +0200

    Don't call make install, rely on dh_auto_install; remove all text files in /usr/lib/ paths.

diff --git a/debian/rules b/debian/rules
index aa12370..e9b4c95 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,9 +8,8 @@ pkglibdir = /usr/lib/pd/extra
 	dh $@ --with quilt -Smakefile
 
 override_dh_auto_install:
-	make DESTDIR=$(CURDIR)/debian/$(PACKAGE) pkglibdir=$(pkglibdir) install
-# replace license file with link to the Debian license file
-	rm -f -- $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/LICENSE.txt
+	dh_auto_install -- prefix=/usr pkglibdir=/usr/lib/pd/extra
+	rm -f $(CURDIR)/debian/$(PACKAGE)/$(pkglibdir)/$(LIBRARY_NAME)/*.txt
 
 override_dh_shlibdeps:
 	dpkg-shlibdeps \

-- 
pd-comport packaging



More information about the pkg-multimedia-commits mailing list