[Reproducible-commits] [strip-nondeterminism] 01/01: debian/rules: explicitly remove Makefile before dh_auto_clean
Andrew Ayer
agwa at andrewayer.name
Sun Feb 28 00:06:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
agwa-guest pushed a commit to branch debian
in repository strip-nondeterminism.
commit 8b42adde99d096d744f7eea5b9a60fe02394abcf
Author: Andrew Ayer <agwa at andrewayer.name>
Date: Sat Feb 27 16:04:06 2016 -0800
debian/rules: explicitly remove Makefile before dh_auto_clean
Remove the auto-generated Makefile to prevent dh_auto_clean from failing
if the Makefile contain paths referring to an old version of Perl. I think
this would have prevented the issue that h01ger faced.
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2d33f6a..0e08d38 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,10 @@
#!/usr/bin/make -f
+# Remove the auto-generated Makefile to prevent dh_auto_clean from failing
+# if the Makefile contain paths referring to an old version of Perl.
+override_dh_auto_clean:
+ rm -f Makefile
+ dh_auto_clean
+
%:
dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git
More information about the Reproducible-commits
mailing list