r19189 - in /trunk/libauthen-sasl-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri Apr 25 23:12:16 UTC 2008


Author: gregoa
Date: Fri Apr 25 23:12:15 2008
New Revision: 19189

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19189
Log:
Refresh debian/rules, no functional changes.

Modified:
    trunk/libauthen-sasl-perl/debian/changelog
    trunk/libauthen-sasl-perl/debian/rules

Modified: trunk/libauthen-sasl-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-sasl-perl/debian/changelog?rev=19189&op=diff
==============================================================================
--- trunk/libauthen-sasl-perl/debian/changelog (original)
+++ trunk/libauthen-sasl-perl/debian/changelog Fri Apr 25 23:12:15 2008
@@ -1,5 +1,6 @@
 libauthen-sasl-perl (2.11-1) unstable; urgency=low
 
+  [ AGOSTINI Yves ]
   * Take over for the Debian Perl Group on maintainer's request
   (rafl at debian.org)
   "Thu, 24 Apr 2008 16:52:14 +0200
@@ -11,6 +12,9 @@
   * add Debian Perl Group as Maintainer
   * upgrade to 2.11 (Closes: #448997)
   * debian/copyright: convert to new format
+
+  [ gregor herrmann ]
+  * Refresh debian/rules, no functional changes.
 
  -- AGOSTINI Yves <agostini at univ-metz.fr>  Fri, 25 Apr 2008 10:46:10 +0200
 

Modified: trunk/libauthen-sasl-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-sasl-perl/debian/rules?rev=19189&op=diff
==============================================================================
--- trunk/libauthen-sasl-perl/debian/rules (original)
+++ trunk/libauthen-sasl-perl/debian/rules Fri Apr 25 23:12:15 2008
@@ -1,40 +1,47 @@
 #!/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.
 
+# 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) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-	touch build-stamp
+	$(MAKE)
+	$(MAKE) test
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) distclean
 	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
-	touch install-stamp
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	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
@@ -43,8 +50,6 @@
 	dh_installdocs api.txt
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -52,8 +57,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