r17078 - in /trunk/libobject-signature-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Mar 9 16:42:58 UTC 2008


Author: gregoa-guest
Date: Sun Mar  9 16:42:57 2008
New Revision: 17078

URL: http://svn.debian.org/wsvn/?sc=1&rev=17078
Log:
debian/rules:
  - update based on dh-make-perl's templates
  - don't install README any more (just a text version of the POD
    documentation)

Modified:
    trunk/libobject-signature-perl/debian/changelog
    trunk/libobject-signature-perl/debian/rules

Modified: trunk/libobject-signature-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libobject-signature-perl/debian/changelog?rev=17078&op=diff
==============================================================================
--- trunk/libobject-signature-perl/debian/changelog (original)
+++ trunk/libobject-signature-perl/debian/changelog Sun Mar  9 16:42:57 2008
@@ -8,12 +8,16 @@
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
   * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #468004).
+  * debian/rules:
+    - update based on dh-make-perl's templates
+    - don't install README any more (just a text version of the POD
+      documentation)
   * debian/watch: use dist-based URL.
   * Set Standards-Version to 3.7.3 (no changes).
   * debian/copyright: use version-agnostic download URL, update years of
     copyright.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 09 Mar 2008 17:39:13 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun, 09 Mar 2008 17:40:54 +0100
 
 libobject-signature-perl (1.05-1) unstable; urgency=low
 

Modified: trunk/libobject-signature-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libobject-signature-perl/debian/rules?rev=17078&op=diff
==============================================================================
--- trunk/libobject-signature-perl/debian/rules (original)
+++ trunk/libobject-signature-perl/debian/rules Sun Mar  9 16:42:57 2008
@@ -1,5 +1,11 @@
 #!/usr/bin/make -f
-# debian/rules made from dh-make-perl and manually edited.
+# 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.
@@ -16,37 +22,40 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
+
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-	touch build-stamp
+	$(MAKE)
+	AUTOMATED_TESTING=1 $(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
-	AUTOMATED_TESTING=1 $(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_installdocs
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -54,8 +63,8 @@
 	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
-.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