r30558 - in /trunk/perlindex/debian: changelog compat control rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Feb 10 13:34:45 UTC 2009


Author: dmn
Date: Tue Feb 10 13:34:42 2009
New Revision: 30558

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=30558
Log:
Convert debian/rules to DH7, bump debhelper dependency and debian/compat

Modified:
    trunk/perlindex/debian/changelog
    trunk/perlindex/debian/compat
    trunk/perlindex/debian/control
    trunk/perlindex/debian/rules

Modified: trunk/perlindex/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlindex/debian/changelog?rev=30558&op=diff
==============================================================================
--- trunk/perlindex/debian/changelog (original)
+++ trunk/perlindex/debian/changelog Tue Feb 10 13:34:42 2009
@@ -14,6 +14,7 @@
   * config: preserve old debconf setting (Closes: #503647)
   * Add Spanish debconf translation, thanks to Francisco Javier Cuadrado
     (Closes: #514601)
+  * Convert debian/rules to DH7, bump debhelper dependency and debian/compat
 
  -- gregor herrmann <gregoa at debian.org>  Mon, 27 Oct 2008 00:42:38 +0100
 

Modified: trunk/perlindex/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlindex/debian/compat?rev=30558&op=diff
==============================================================================
--- trunk/perlindex/debian/compat (original)
+++ trunk/perlindex/debian/compat Tue Feb 10 13:34:42 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/perlindex/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlindex/debian/control?rev=30558&op=diff
==============================================================================
--- trunk/perlindex/debian/control (original)
+++ trunk/perlindex/debian/control Tue Feb 10 13:34:42 2009
@@ -4,7 +4,7 @@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Florian Ragwitz <rafl at debian.org>,
  gregor herrmann <gregoa at debian.org>
-Build-Depends: debhelper (>= 5.0.0), quilt (>= 0.40), po-debconf
+Build-Depends: debhelper (>= 7), quilt (>= 0.40), po-debconf
 Build-Depends-Indep: perl (>= 5.6.0-16)
 Standards-Version: 3.8.0
 Homepage: http://search.cpan.org/dist/perlindex/

Modified: trunk/perlindex/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlindex/debian/rules?rev=30558&op=diff
==============================================================================
--- trunk/perlindex/debian/rules (original)
+++ trunk/perlindex/debian/rules Tue Feb 10 13:34:42 2009
@@ -1,57 +1,27 @@
 #!/usr/bin/make -f
 
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-
-include /usr/share/quilt/quilt.make
-
 build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) INDEXDIR=/var/cache/perlindex
-	$(MAKE) test
+build-stamp:
+	dh build
 	touch $@
 
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
+clean:
+	dh $@
 	debconf-updatepo
-	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	dh install --before dh_install
 	install -d $(CURDIR)/debian/tmp/etc/perlindex
 	cp debian/configfile $(CURDIR)/debian/tmp/etc/perlindex/config
+	dh install --remaining
 	touch $@
 
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_install --sourcedir=debian/tmp
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installdebconf
-	dh_installcron
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-arch:
 
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
+binary-indep: install
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build




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