[libmath-calculus-expression-perl] 07/10: Finally switch to a minimal dh v7 style debian/rules file

Axel Beckert abe at deuxchevaux.org
Sat May 30 23:40:25 UTC 2015


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

abe pushed a commit to branch master
in repository libmath-calculus-expression-perl.

commit 133a40723fdc6c3d270dd6ea013600d30cfdfb7b
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun May 31 01:27:15 2015 +0200

    Finally switch to a minimal dh v7 style debian/rules file
---
 debian/changelog |  1 +
 debian/rules     | 56 ++------------------------------------------------------
 2 files changed, 3 insertions(+), 54 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3755d10..b6c1058 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,6 +44,7 @@ libmath-calculus-expression-perl (0.2.2.ds-2) UNRELEASED; urgency=low
     + Replace "dh_clean -k" by "dh_prep".
     + Drop now redundant parameters to dh_clean and dh_installchangelogs.
     + Remove now obsolete /usr/lib/perl5 cleanup.
+    + Finally switch to a minimal dh v7 style debian/rules file.
 
  -- Franck Joncourt <franck.mail at dthconnex.com>  Fri, 14 Nov 2008 23:58:19 +0100
 
diff --git a/debian/rules b/debian/rules
index 4923ca0..657234c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,59 +1,7 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	dh_auto_configure
-	dh_auto_build
-	dh_auto_test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean
-	dh_auto_clean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_auto_install
-	touch $@
-
-binary-arch:
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-get-orig-source:
-	uscan -force -verbose
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install get-orig-source
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-calculus-expression-perl.git



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