[libapache2-mod-perl2] 08/12: debian/rules cleanup part II

Niko Tyni ntyni at moszumanska.debian.org
Thu Aug 7 20:13:37 UTC 2014


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

ntyni pushed a commit to branch master
in repository libapache2-mod-perl2.

commit 64b6d9092aa33b63236e3eda2774674ac23f076e
Author: Niko Tyni <ntyni at debian.org>
Date:   Thu Aug 7 19:35:58 2014 +0300

    debian/rules cleanup part II
    
    There doesn't seem to be a need for t/run or t/logs fiddling anymore.
    Not sure if there ever was.
---
 debian/rules | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/debian/rules b/debian/rules
index cb0d19e..59d2b88 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,15 +23,6 @@ override_dh_auto_build:
 
 
 override_dh_auto_test:
-	[ -d $(CURDIR)/t/run ] || mkdir $(CURDIR)/t/run
-	[ -d $(CURDIR)/t/logs ] || mkdir $(CURDIR)/t/logs
-	touch $(CURDIR)/t/logs/error_log
-	[ -d $(MPR)/t/run ] || mkdir $(MPR)/t/run
-	[ -d $(MPR)/t/logs ] || mkdir $(MPR)/t/logs
-	touch $(MPR)/t/logs/error_log
-	[ -d $(APR)/t/run ] || mkdir $(APR)/t/run
-	[ -d $(APR)/t/logs ] || mkdir $(APR)/t/logs
-	touch $(APR)/t/logs/error_log
 	APACHE_TEST_EXTRA_ARGS="-httpd_conf $(CURDIR)/debian/apache2.conf" \
 		LANG=C \
 		dh_auto_test --max-parallel=1 || ( RET=$$?; \
@@ -45,8 +36,6 @@ override_dh_clean:
 	rm -rf t/htdocs/hooks lib/Apache WrapXS debian/docs
 	find . -name 'pod2htmd.tmp' -exec rm '{}' \;
 	find . -name 'pod2htmi.tmp' -exec rm '{}' \;
-	# these shouldn't be needed really
-	rm -rf $(CURDIR)/t/logs $(CURDIR)/t/run $(MPR)/t/logs $(MPR)/t/run $(APR)/t/logs $(APR)/t/run
 	find . -name 'Makefile.old' -exec rm '{}' \;
 	rm -f Apache-Test/Apache-TestItSelf/t/SMOKE t/core
 

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



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