r67663 - in /trunk/libhttp-request-params-perl/debian: changelog rules

roam-guest at users.alioth.debian.org roam-guest at users.alioth.debian.org
Sat Jan 22 11:41:44 UTC 2011


Author: roam-guest
Date: Sat Jan 22 11:41:31 2011
New Revision: 67663

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67663
Log:
Minimize the rules file.

Modified:
    trunk/libhttp-request-params-perl/debian/changelog
    trunk/libhttp-request-params-perl/debian/rules

Modified: trunk/libhttp-request-params-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-request-params-perl/debian/changelog?rev=67663&op=diff
==============================================================================
--- trunk/libhttp-request-params-perl/debian/changelog (original)
+++ trunk/libhttp-request-params-perl/debian/changelog Sat Jan 22 11:41:31 2011
@@ -14,7 +14,7 @@
   * Convert to the 3.0 (quilt) source format with no changes.
   * Improve the package description a bit.
   * Add myself to Uploaders.
-  * Bump the debhelper compatibility level to 7 and use dh_prep.
+  * Bump the debhelper compatibility level to 7 and minimize the rules file.
 
  -- Peter Pentchev <roam at ringlet.net>  Sat, 22 Jan 2011 13:01:52 +0200
 

Modified: trunk/libhttp-request-params-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhttp-request-params-perl/debian/rules?rev=67663&op=diff
==============================================================================
--- trunk/libhttp-request-params-perl/debian/rules (original)
+++ trunk/libhttp-request-params-perl/debian/rules Sat Jan 22 11:41:31 2011
@@ -4,62 +4,5 @@
 # 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
-
-# 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:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch build-stamp
-
-clean:
-	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_prep
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	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: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+	dh $@




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