[libterm-slang-perl] 11/15: Use dh_auto_{configure, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Tue Dec 24 01:44:58 UTC 2013


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

abe pushed a commit to branch master
in repository libterm-slang-perl.

commit 14f54a28db044dda569dfcb503db00e362273e57
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Dec 24 02:26:30 2013 +0100

    Use dh_auto_{configure,test,install,clean}
    
    Not using dh_auto_build for now, c.f. #661546
---
 debian/changelog | 2 ++
 debian/rules     | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c9e850e..fedc13c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,6 +44,8 @@ libterm-slang-perl (0.07-12) UNRELEASED; urgency=low
     + Replace "dh_clean -k" with "dh_prep"
     + Remove obsolete dh_{clean,installchangelogs} parameters
     + Move dh_install{docs,examples} parameters to debian/{docs,examples}
+    + Use dh_auto_{configure,test,install,clean}
+      - Not using dh_auto_build for now, c.f. #661546
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:32:23 +0200
 
diff --git a/debian/rules b/debian/rules
index 7a0f7ed..a532a25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,23 +29,23 @@ build-arch: build-stamp
 build-indep: build-stamp
 build-stamp:
 	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	dh_auto_configure
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(MAKE) test
+	dh_auto_test
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
+	dh_auto_clean
 	dh_clean
-	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
 install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_prep
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	dh_auto_install
 	[ ! -d $(TMP)/usr/share/perl5 ] || \
 		rmdir --ignore-fail-on-non-empty --parents --verbose \
 		$(TMP)/usr/share/perl5

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



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