r31683 - in /trunk/libnet-amazon-s3-tools-perl/debian: changelog docs rules

plessy at users.alioth.debian.org plessy at users.alioth.debian.org
Sun Mar 8 06:06:00 UTC 2009


Author: plessy
Date: Sun Mar  8 06:05:57 2009
New Revision: 31683

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=31683
Log:
Refreshed build system using dh-make-perl 0.52.

Added:
    trunk/libnet-amazon-s3-tools-perl/debian/docs
Modified:
    trunk/libnet-amazon-s3-tools-perl/debian/changelog
    trunk/libnet-amazon-s3-tools-perl/debian/rules

Modified: trunk/libnet-amazon-s3-tools-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-amazon-s3-tools-perl/debian/changelog?rev=31683&op=diff
==============================================================================
--- trunk/libnet-amazon-s3-tools-perl/debian/changelog (original)
+++ trunk/libnet-amazon-s3-tools-perl/debian/changelog Sun Mar  8 06:05:57 2009
@@ -11,6 +11,8 @@
      - Removed vanity statements about debianization.
      - Added Ryan to the Hall of Fame.
      - Point precisely to GPL-2 and LGPL-2.1.
+  * Refreshed build system using dh-make-perl 0.52.
+    (debian/rules, debian/docs)
 
  -- Ryan Niebur <ryanryan52 at gmail.com>  Sat, 07 Mar 2009 10:24:53 -0800
 

Added: trunk/libnet-amazon-s3-tools-perl/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-amazon-s3-tools-perl/debian/docs?rev=31683&op=file
==============================================================================
--- trunk/libnet-amazon-s3-tools-perl/debian/docs (added)
+++ trunk/libnet-amazon-s3-tools-perl/debian/docs Sun Mar  8 06:05:57 2009
@@ -1,0 +1,1 @@
+README

Modified: trunk/libnet-amazon-s3-tools-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-amazon-s3-tools-perl/debian/rules?rev=31683&op=diff
==============================================================================
--- trunk/libnet-amazon-s3-tools-perl/debian/rules (original)
+++ trunk/libnet-amazon-s3-tools-perl/debian/rules Sun Mar  8 06:05:57 2009
@@ -1,65 +1,25 @@
 #!/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.
 
 include /usr/share/quilt/quilt.make
 
-# 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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh build
 	touch $@
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	# Add commands to install the package into $(TMP) here
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
+	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_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+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