[libamazon-sqs-simple-perl] 05/07: debian/rules: recreate Makefile during clean.

gregor herrmann gregoa at debian.org
Mon Nov 30 17:56:14 UTC 2015


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

gregoa pushed a commit to branch master
in repository libamazon-sqs-simple-perl.

commit c563a5c920b737d41aa259b7d9a2f45d9214c70a
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Nov 30 18:53:01 2015 +0100

    debian/rules: recreate Makefile during clean.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..6a318fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,9 @@
 
 %:
 	dh $@
+
+override_dh_auto_clean:
+	# recreate Makefile if it exists. path from the author's MacOS are not
+	# helpful for us
+	[ ! -f Makefile ] || perl Makefile.PL
+	dh_auto_clean

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



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