[SCM] Debian packaging of File-Save-Home CPAN distribution branch, master, updated. debian/0.09-1-2-g351d724

gregor herrmann gregoa at debian.org
Sat Jun 22 15:10:23 UTC 2013


The following commit has been merged in the master branch:
commit 322a6eb28892e62a7a1f63c90e9d0cecbff96c0c
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 22 17:05:56 2013 +0200

    Set HOME for test suite in debian/rules.
    
    Closes: #713241

diff --git a/debian/rules b/debian/rules
index 2d33f6a..1e7657c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,16 @@
 #!/usr/bin/make -f
 
+PACKAGE   = $(shell dh_listpackages)
+TMP       = $(CURDIR)/debian/$(PACKAGE)
+BUILDHOME = $(CURDIR)/debian/build
+
 %:
 	dh $@
+
+override_dh_auto_test:
+	mkdir -p $(BUILDHOME)
+	HOME=$(BUILDHOME) dh_auto_test
+
+override_dh_clean:
+	dh_clean
+	rm -rf $(BUILDHOME)

-- 
Debian packaging of File-Save-Home CPAN distribution



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