r23709 - in /trunk/libtree-redblack-perl/debian: changelog compat control docs rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Jul 31 06:53:16 UTC 2008


Author: dmn
Date: Thu Jul 31 06:53:13 2008
New Revision: 23709

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23709
Log:
trim down debian/rules using debhelper 7

Added:
    trunk/libtree-redblack-perl/debian/docs
Modified:
    trunk/libtree-redblack-perl/debian/changelog
    trunk/libtree-redblack-perl/debian/compat
    trunk/libtree-redblack-perl/debian/control
    trunk/libtree-redblack-perl/debian/rules

Modified: trunk/libtree-redblack-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtree-redblack-perl/debian/changelog?rev=23709&op=diff
==============================================================================
--- trunk/libtree-redblack-perl/debian/changelog (original)
+++ trunk/libtree-redblack-perl/debian/changelog Thu Jul 31 06:53:13 2008
@@ -6,6 +6,7 @@
   * add README.source documenting quilt usage
     + Standards-Version: 3.8.0
   * add myself to Uploaders
+  * trim down debian/rules using debhelper 7
 
  -- Damyan Ivanov <dmn at debian.org>  Thu, 31 Jul 2008 09:36:51 +0300
 

Modified: trunk/libtree-redblack-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtree-redblack-perl/debian/compat?rev=23709&op=diff
==============================================================================
--- trunk/libtree-redblack-perl/debian/compat (original)
+++ trunk/libtree-redblack-perl/debian/compat Thu Jul 31 06:53:13 2008
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libtree-redblack-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtree-redblack-perl/debian/control?rev=23709&op=diff
==============================================================================
--- trunk/libtree-redblack-perl/debian/control (original)
+++ trunk/libtree-redblack-perl/debian/control Thu Jul 31 06:53:13 2008
@@ -1,7 +1,7 @@
 Source: libtree-redblack-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), quilt (>= 0.40)
+Build-Depends: debhelper (>= 7), quilt (>= 0.40)
 Build-Depends-Indep: perl (>= 5.6.0-20)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Gunnar Wolf <gwolf at debian.org>,

Added: trunk/libtree-redblack-perl/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtree-redblack-perl/debian/docs?rev=23709&op=file
==============================================================================
--- trunk/libtree-redblack-perl/debian/docs (added)
+++ trunk/libtree-redblack-perl/debian/docs Thu Jul 31 06:53:13 2008
@@ -1,0 +1,1 @@
+README

Modified: trunk/libtree-redblack-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtree-redblack-perl/debian/rules?rev=23709&op=diff
==============================================================================
--- trunk/libtree-redblack-perl/debian/rules (original)
+++ trunk/libtree-redblack-perl/debian/rules Thu Jul 31 06:53:13 2008
@@ -1,71 +1,18 @@
 #!/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
 
 include /usr/share/quilt/quilt.make
 
-# 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
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-
-	touch $@
+build: $(QUILT_STAMPFN)
+	dh $@
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
-	touch $@
+	dh $@
 
 binary-arch:
 # We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary-indep: build
+	dh $@
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary




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