r16708 - in /trunk/libclass-data-accessor-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Fri Mar 7 13:37:47 UTC 2008


Author: gregoa-guest
Date: Fri Mar  7 13:37:46 2008
New Revision: 16708

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

Modified:
    trunk/libclass-data-accessor-perl/debian/changelog
    trunk/libclass-data-accessor-perl/debian/rules

Modified: trunk/libclass-data-accessor-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-data-accessor-perl/debian/changelog?rev=16708&op=diff
==============================================================================
--- trunk/libclass-data-accessor-perl/debian/changelog (original)
+++ trunk/libclass-data-accessor-perl/debian/changelog Fri Mar  7 13:37:46 2008
@@ -8,8 +8,11 @@
   * Set Standards-Version to 3.7.3 (no changes).
   * debian/copyright: use version-agnostic download URL; explicitly deduce
     and mention copyright/license.
+  * debian/rules:
+    - updated with dh-make-perl's help
+    - don't install README any more (text version of the POD documentation)
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 07 Mar 2008 14:29:23 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Fri, 07 Mar 2008 14:33:35 +0100
 
 libclass-data-accessor-perl (0.04001-1) unstable; urgency=low
 

Modified: trunk/libclass-data-accessor-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-data-accessor-perl/debian/rules?rev=16708&op=diff
==============================================================================
--- trunk/libclass-data-accessor-perl/debian/rules (original)
+++ trunk/libclass-data-accessor-perl/debian/rules Fri Mar  7 13:37:46 2008
@@ -1,4 +1,11 @@
 #!/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.
@@ -15,38 +22,40 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
+
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-	touch build-stamp
+	$(MAKE)
+	TEST_AUTHOR=1 $(MAKE) test
+
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	-$(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
-	TEST_AUTHOR=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_installexamples
-	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