[pkg-perl-tools] 04/07: debian/rules: add override_dh_clean

gregor herrmann gregoa at debian.org
Sat Jun 17 18:18:06 UTC 2017


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

gregoa pushed a commit to branch master
in repository pkg-perl-tools.

commit f9342076a9735cbfe58f746af2162a19aad915ca
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 17 20:09:10 2017 +0200

    debian/rules: add override_dh_clean
    
    to avoid removal of the t/patchedit/*.orig files.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 40f3358..2a54beb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,10 @@ APT=$(CURDIR)/debian/pkg-perl-autopkgtest/usr/share/pkg-perl-autopkgtest
 	# autodep8. See the fake Makefile.PL for details.
 	dh $@ --buildsystem=makefile
 
+override_dh_clean:
+	# preserver test data (*.orig)
+	dh_clean -Xt/patchedit/
+
 override_dh_fixperms:
 	dh_fixperms
 	chmod +x $(APT)/* $(APT)/*/*

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



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