r16071 - in /trunk/libtime-stopwatch-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Mar 1 20:54:00 UTC 2008


Author: gregoa-guest
Date: Sat Mar  1 20:53:59 2008
New Revision: 16071

URL: http://svn.debian.org/wsvn/?sc=1&rev=16071
Log:
debian/rules: update with the help of dh-make-perl's template; don't
  install README any more (no additional information for users).

Modified:
    trunk/libtime-stopwatch-perl/debian/changelog
    trunk/libtime-stopwatch-perl/debian/rules

Modified: trunk/libtime-stopwatch-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtime-stopwatch-perl/debian/changelog?rev=16071&op=diff
==============================================================================
--- trunk/libtime-stopwatch-perl/debian/changelog (original)
+++ trunk/libtime-stopwatch-perl/debian/changelog Sat Mar  1 20:53:59 2008
@@ -8,8 +8,10 @@
   * Set Standards-Version to 3.7.3 (no changes).
   * Set debhelper compatibility level to 6.
   * debian/copyright: add upstream source location.
+  * debian/rules: update with the help of dh-make-perl's template; don't
+    install README any more (no additional information for users).
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 01 Mar 2008 21:48:28 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 01 Mar 2008 21:48:54 +0100
 
 libtime-stopwatch-perl (1.00-3) unstable; urgency=low
 

Modified: trunk/libtime-stopwatch-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtime-stopwatch-perl/debian/rules?rev=16071&op=diff
==============================================================================
--- trunk/libtime-stopwatch-perl/debian/rules (original)
+++ trunk/libtime-stopwatch-perl/debian/rules Sat Mar  1 20:53:59 2008
@@ -23,46 +23,39 @@
 build-stamp:
 	dh_testdir
 
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="-Wall -O2 -g"
+	$(MAKE)
+	$(MAKE) test
 
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	[ ! -f Makefile ] || $(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
 
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(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_installchangelogs 
+	dh_installdocs
+	dh_installchangelogs
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -70,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