r31242 - in /trunk/image-size/debian: changelog rules

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Sat Feb 28 22:12:07 UTC 2009


Author: ryan52-guest
Date: Sat Feb 28 22:12:04 2009
New Revision: 31242

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=31242
Log:
debhelper 7

Modified:
    trunk/image-size/debian/changelog
    trunk/image-size/debian/rules

Modified: trunk/image-size/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/image-size/debian/changelog?rev=31242&op=diff
==============================================================================
--- trunk/image-size/debian/changelog (original)
+++ trunk/image-size/debian/changelog Sat Feb 28 22:12:04 2009
@@ -8,8 +8,9 @@
 
   [ Ryan Niebur ]
   * New upstream release
+  * debhelper 7
 
- -- Ryan Niebur <ryanryan52 at gmail.com>  Sat, 28 Feb 2009 13:56:37 -0800
+ -- Ryan Niebur <ryanryan52 at gmail.com>  Sat, 28 Feb 2009 14:12:00 -0800
 
 image-size (3.1.1-2) unstable; urgency=low
 

Modified: trunk/image-size/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/image-size/debian/rules?rev=31242&op=diff
==============================================================================
--- trunk/image-size/debian/rules (original)
+++ trunk/image-size/debian/rules Sat Feb 28 22:12:04 2009
@@ -1,75 +1,22 @@
 #!/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.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
-
-# 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
 
 include /usr/share/quilt/quilt.make
 
-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) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
-
+	dh build
 	touch $@
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || $(PERL) Build distclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
-
+	dh install
 	touch $@
 
-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_installexamples ex/*
-	dh_installchangelogs ChangeLog
-	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
+	dh binary-indep
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary




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