r16339 - in /trunk/libdatetime-format-pg-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Mar 3 18:41:56 UTC 2008


Author: gregoa-guest
Date: Mon Mar  3 18:41:55 2008
New Revision: 16339

URL: http://svn.debian.org/wsvn/?sc=1&rev=16339
Log:
debian/rules:
  - update with dh-make-perl's help
  - don't install README any more (no relevant info for users)

Modified:
    trunk/libdatetime-format-pg-perl/debian/changelog
    trunk/libdatetime-format-pg-perl/debian/rules

Modified: trunk/libdatetime-format-pg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-pg-perl/debian/changelog?rev=16339&op=diff
==============================================================================
--- trunk/libdatetime-format-pg-perl/debian/changelog (original)
+++ trunk/libdatetime-format-pg-perl/debian/changelog Mon Mar  3 18:41:55 2008
@@ -4,9 +4,12 @@
     field (source stanza); Homepage field (source stanza). Removed:
     Homepage pseudo-field (Description); XS-Vcs-Svn fields.
   * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467739).
+  * debian/rules:
+    - update with dh-make-perl's help
+    - don't install README any more (no relevant info for users)
   * debian/watch: use dist-based URL.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:45 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 03 Mar 2008 19:40:22 +0100
 
 libdatetime-format-pg-perl (0.16001-1) unstable; urgency=low
 

Modified: trunk/libdatetime-format-pg-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdatetime-format-pg-perl/debian/rules?rev=16339&op=diff
==============================================================================
--- trunk/libdatetime-format-pg-perl/debian/rules (original)
+++ trunk/libdatetime-format-pg-perl/debian/rules Mon Mar  3 18:41:55 2008
@@ -24,42 +24,39 @@
 	dh_testdir
 
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
+	$(MAKE)
+	$(MAKE) test
 
-	touch build-stamp
+	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
-
 	[ ! -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_installexamples
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -67,7 +64,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