r16181 - in /trunk/libreturn-value-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Mar 2 00:11:31 UTC 2008


Author: gregoa-guest
Date: Sun Mar  2 00:11:30 2008
New Revision: 16181

URL: http://svn.debian.org/wsvn/?sc=1&rev=16181
Log:
debian/rules: minor improvements with the help of dh-make-perl's
  templates; don't install README (text version of the POD documentation)

Modified:
    trunk/libreturn-value-perl/debian/changelog
    trunk/libreturn-value-perl/debian/rules

Modified: trunk/libreturn-value-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libreturn-value-perl/debian/changelog?rev=16181&op=diff
==============================================================================
--- trunk/libreturn-value-perl/debian/changelog (original)
+++ trunk/libreturn-value-perl/debian/changelog Sun Mar  2 00:11:30 2008
@@ -12,8 +12,10 @@
   * Set Standards-Version to 3.7.3 (no changes).
   * Set debhelper compatibility level to 6.
   * debian/copyright: use generic upstream source URL.
+  * debian/rules: minor improvements with the help of dh-make-perl's
+    templates; don't install README (text version of the POD documentation)
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 02 Mar 2008 01:07:56 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 02 Mar 2008 01:08:53 +0100
 
 libreturn-value-perl (1.302-1) unstable; urgency=low
 

Modified: trunk/libreturn-value-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libreturn-value-perl/debian/rules?rev=16181&op=diff
==============================================================================
--- trunk/libreturn-value-perl/debian/rules (original)
+++ trunk/libreturn-value-perl/debian/rules Sun Mar  2 00:11:30 2008
@@ -3,6 +3,9 @@
 # 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.
@@ -19,42 +22,40 @@
 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
+
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean build-stamp install-stamp
 
-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
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we delete them from the deb:
 	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 
-	touch install-stamp
+	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 README
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -62,7 +63,7 @@
 	dh_md5sums
 	dh_builddeb
 
-source diff:                                                                  
+source diff:
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 binary: binary-indep binary-arch




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