[SCM] Debian packaging of libdate-manip-perl branch, master, updated. debian/6.32-1-6-g7cfebaa

gregor herrmann gregoa at debian.org
Wed Sep 19 16:40:16 UTC 2012


The following commit has been merged in the master branch:
commit 18330791b17b9ebead7d6bbe706f7725dd055548
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Sep 19 18:35:11 2012 +0200

    debian/rules: don't install example scripts to /usr/bin.

diff --git a/debian/rules b/debian/rules
index e306ee5..e25f8ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,16 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
 
 override_dh_installchangelogs:
 	dh_installchangelogs HISTORY
+
+override_dh_auto_install:
+	dh_auto_install
+	# installed as examples
+	$(RM) -v $(TMP)/usr/bin/dm_*
+	rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/bin

-- 
Debian packaging of libdate-manip-perl



More information about the Pkg-perl-cvs-commits mailing list