r21076 - in /trunk/libgd-securityimage-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jun 14 20:11:52 UTC 2008


Author: gregoa
Date: Sat Jun 14 20:11:51 2008
New Revision: 21076

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21076
Log:
Refresh debian/rules, no functional changes; don't install README any
more.

Modified:
    trunk/libgd-securityimage-perl/debian/changelog
    trunk/libgd-securityimage-perl/debian/rules

Modified: trunk/libgd-securityimage-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgd-securityimage-perl/debian/changelog?rev=21076&op=diff
==============================================================================
--- trunk/libgd-securityimage-perl/debian/changelog (original)
+++ trunk/libgd-securityimage-perl/debian/changelog Sat Jun 14 20:11:51 2008
@@ -4,6 +4,8 @@
   * debian/copyright: update years of copyright.
   * Set Standards-Version to 3.8.0 (no changes).
   * Add /me to Uploaders.
+  * Refresh debian/rules, no functional changes; don't install README any
+    more.
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 14 Jun 2008 22:01:42 +0200
 

Modified: trunk/libgd-securityimage-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgd-securityimage-perl/debian/rules?rev=21076&op=diff
==============================================================================
--- trunk/libgd-securityimage-perl/debian/rules (original)
+++ trunk/libgd-securityimage-perl/debian/rules Sat Jun 14 20:11:51 2008
@@ -7,53 +7,50 @@
 # 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
-PACKAGE=$(shell dh_listpackages)
 
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
 	dh_testdir
 	$(PERL) Build.PL installdirs=vendor
-	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
-	touch build-stamp
+	$(PERL) Build
+	$(PERL) Build test
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	[ ! -f Build ] || $(PERL) Build distclean
-	-rm *.png
 	dh_clean build-stamp install-stamp
+	$(RM) *.png
+	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	$(PERL) Build test
-	$(PERL) Build install destdir=$(TMP)
-	find $(TMP) -type f -name .packlist | xargs rm -f
-	[ ! -d $(TMP)/usr/lib/perl5/auto/GD/SecurityImage ] \
-		|| rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5/auto/GD/SecurityImage
-	touch install-stamp
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	touch $@
 
 binary-arch:
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-independent package
 
 binary-indep: build install
 	dh_testdir
 	dh_testroot
+	dh_installdocs
 	dh_installexamples eg/*
-	dh_installdocs README
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -61,8 +58,5 @@
 	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
+.PHONY: build clean binary-indep binary-arch binary install




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