[librrd-simple-perl] 04/10: Replace export in debian/rules with an override.

gregor herrmann gregoa at debian.org
Mon Jun 29 19:41:40 UTC 2015


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

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

commit bae27d3242dcc2053aef8aefa7b88c4e5a4c737e
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Jun 29 21:31:40 2015 +0200

    Replace export in debian/rules with an override.
---
 debian/rules | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index a998f28..faffe8e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,12 +3,13 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
-# Disable the prompt to phone home to report package build.
-export AUTOMATED_TESTING := 1
-
 %:
 	dh $@
 
+# Disable the prompt to phone home to report package build.
+override_dh_auto_test:
+	AUTOMATED_TESTING=1 dh_auto_test
+
 override_dh_installexamples:
 	dh_installexamples
 	sed -i '1s|^#!/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/foo.pl

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



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