r15810 - in /trunk/libformvalidator-simple-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Feb 27 19:30:56 UTC 2008


Author: gregoa-guest
Date: Wed Feb 27 19:30:55 2008
New Revision: 15810

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

Modified:
    trunk/libformvalidator-simple-perl/debian/changelog
    trunk/libformvalidator-simple-perl/debian/rules

Modified: trunk/libformvalidator-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libformvalidator-simple-perl/debian/changelog?rev=15810&op=diff
==============================================================================
--- trunk/libformvalidator-simple-perl/debian/changelog (original)
+++ trunk/libformvalidator-simple-perl/debian/changelog Wed Feb 27 19:30:55 2008
@@ -7,8 +7,10 @@
   * debian/watch: use dist-based URL.
   * Set Standards-Version to 3.7.3 (no changes).
   * Set debhelper compatibility level to 6.
+  * debian/rules: update with the help of dh-make-perl's templates; don't
+    install README any more (just a text version of the POD documentation).
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 27 Feb 2008 20:27:09 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 27 Feb 2008 20:28:59 +0100
 
 libformvalidator-simple-perl (0.22-1) unstable; urgency=low
 

Modified: trunk/libformvalidator-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libformvalidator-simple-perl/debian/rules?rev=15810&op=diff
==============================================================================
--- trunk/libformvalidator-simple-perl/debian/rules (original)
+++ trunk/libformvalidator-simple-perl/debian/rules Wed Feb 27 19:30:55 2008
@@ -22,43 +22,45 @@
 build: build-stamp
 build-stamp:
 	dh_testdir
+
+	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
-	touch build-stamp
+	$(MAKE)
+	TEST_POD=1 $(MAKE) test
+
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
+
+	dh_clean build-stamp install-stamp
+
 	# Add commands to clean up after the build process here
 	[ ! -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
-	-(TEST_POD=1 $(MAKE) test)
+
+	# Add commands to install the package into $(TMP) here
 	$(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
@@ -66,7 +68,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