[libdevel-profile-perl] 02/02: Replace debian/rules with a minimal dh v7 style file

Axel Beckert abe at deuxchevaux.org
Thu Jul 23 23:55:43 UTC 2015


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

abe pushed a commit to branch master
in repository libdevel-profile-perl.

commit ccccb527b562c3e54dcfdeb3906ab68c1c962d1b
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Fri Jul 24 01:52:26 2015 +0200

    Replace debian/rules with a minimal dh v7 style file
    
    Fixes tons of lintian warnings and a FTBFS with Perl 5.22. (Closes:
    
    Deliberately no more install upstream README as documentation.
---
 debian/changelog |  4 ++++
 debian/rules     | 43 ++-----------------------------------------
 2 files changed, 6 insertions(+), 41 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 42864cd..52c0f9b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,10 @@ libdevel-profile-perl (1.05-3) UNRELEASED; urgency=low
 
   [ Axel Beckert ]
   * Bump debhelper compatibility to 9 and update debhelper b-d accordingly
+  * debian/rules: Replace with a minimal dh v7 style file.
+    + Fixes FTBFS and tons of lintian warnings.
+    + Closes: #793336
+  * Deliberately no more install upstream README as documentation.
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 07 Jun 2008 22:52:42 +0200
 
diff --git a/debian/rules b/debian/rules
index ac0d630..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,43 +1,4 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh_testdir
-	perl Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	if [ -e Makefile ]; then $(MAKE) realclean; fi
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	$(MAKE) install PREFIX=$(CURDIR)/debian/libdevel-profile-perl/usr
-	[ ! -d $(CURDIR)/debian/libdevel-profile-perl/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/libdevel-profile-perl/usr/lib/perl5
-
-binary-arch: build install
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs CHANGES
-	#dh_installman blib/man3/*.3pm
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@

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



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