[libconvert-units-perl] 10/17: Replace debian/rules with the tiny debhelper 7 variant

Damyan Ivanov dmn at moszumanska.debian.org
Tue Jul 21 20:20:21 UTC 2015


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

dmn pushed a commit to annotated tag debian/0.43-2
in repository libconvert-units-perl.

commit fc5045415059d186f592e27d01f34fac4e77bc89
Author: Damyan Ivanov <dmn at debian.org>
Date:   Tue Jul 21 19:42:23 2015 +0000

    Replace debian/rules with the tiny debhelper 7 variant
    
    Now the package builds
---
 debian/changelog |  1 +
 debian/rules     | 69 ++------------------------------------------------------
 2 files changed, 3 insertions(+), 67 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ff5b616..a4e0b03 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ libconvert-units-perl (1:0.43-1) unstable; urgency=low
     Add myself to uploaders too
   * Replace perl5 (build) dependency with plain 'perl' or ${perl:Depends}
     Closes: #786678
+  * Replace debian/rules with the tiny debhelper 7 variant
 
  -- Krzysztof Krzyzaniak (eloy) <eloy at debian.org>  Wed, 22 Feb 2006 22:02:19 +0100
 
diff --git a/debian/rules b/debian/rules
index e44ef8a..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,69 +1,4 @@
 #!/usr/bin/make -f
-# -*- Makefile -*-
 
-# Make sure perl is defined (allow overriding from the command line
-PERL ?= /usr/bin/perl
-
-# Set our build directory
-b := $(shell pwd)/debian/libconvert-units-perl
-
-arrange: arrange-stamp
-arrange-stamp: install
-	dh_testdir
-	dh_installdirs
-	touch arrange-stamp
-
-binary: binary-stamp
-binary-stamp: binary-indep binary-arch
-	dh_testdir
-	touch binary-stamp
-
-binary-arch: binary-arch-stamp
-binary-arch-stamp: arrange
-	dh_testdir
-	touch binary-arch-stamp
-
-binary-indep: binary-indep-stamp
-binary-indep-stamp: arrange
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-	touch binary-indep-stamp
-
-build: build-stamp
-build-stamp: config
-	dh_testdir
-	$(MAKE)
-	$(MAKE) test
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	if [ -e Makefile ]; then $(MAKE) -i distclean; fi
-	dh_clean arrange-stamp binary-stamp binary-arch-stamp binary-indep-stamp build-stamp config-stamp install-stamp
-
-config: config-stamp
-config-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	touch config-stamp
-
-install: install-stamp
-install-stamp: build
-	dh_testdir
-	$(MAKE) install PREFIX=$(b)/usr
-	touch install-stamp
-
-.PHONY: arrange binary binary-arch binary-indep build clean config install
+%:
+	dh $@

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



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