[libcrypt-openssl-dsa-perl] 07/08: Remove Signature.pod from vendorarch directory in the binary package

Salvatore Bonaccorso carnil at debian.org
Mon Jul 13 17:24:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository libcrypt-openssl-dsa-perl.

commit 5ecac489633912d7b73b2cf0b6c52d53ec0befd5
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Mon Jul 13 19:08:33 2015 +0200

    Remove Signature.pod from vendorarch directory in the binary package
---
 debian/rules | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index cd30d8f..9779149 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,14 @@
 #!/usr/bin/make -f
 #-*- makefile -*-
 
+PACKAGE  = $(shell dh_listpackages)
+TMP      = $(CURDIR)/debian/$(PACKAGE)
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	rm --verbose $(TMP)/$(ARCHLIB)/Crypt/OpenSSL/DSA/Signature.pod
+	rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/$(ARCHLIB)/Crypt/OpenSSL/DSA/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-openssl-dsa-perl.git



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