r12782 - in /trunk/libtext-shellwords-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Jan 15 14:58:41 UTC 2008


Author: dmn
Date: Tue Jan 15 14:58:41 2008
New Revision: 12782

URL: http://svn.debian.org/wsvn/?sc=1&rev=12782
Log:
  + use dist-based URL
* clean up redian/rules:
  + use $@ for touching stamps
  + drop unused dh_* calls
  + enable test suite (in build-stamp target)
  + clean stamps before distclean

Modified:
    trunk/libtext-shellwords-perl/debian/changelog
    trunk/libtext-shellwords-perl/debian/rules

Modified: trunk/libtext-shellwords-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtext-shellwords-perl/debian/changelog?rev=12782&op=diff
==============================================================================
--- trunk/libtext-shellwords-perl/debian/changelog (original)
+++ trunk/libtext-shellwords-perl/debian/changelog Tue Jan 15 14:58:41 2008
@@ -12,6 +12,12 @@
     + add v? to the pattern
     + require thet version starts with a digit and contains only digits and
       dots
+    + use dist-based URL
+  * clean up redian/rules:
+    + use $@ for touching stamps
+    + drop unused dh_* calls
+    + enable test suite (in build-stamp target)
+    + clean stamps before distclean
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 07 Nov 2007 16:51:18 +0100
 

Modified: trunk/libtext-shellwords-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtext-shellwords-perl/debian/rules?rev=12782&op=diff
==============================================================================
--- trunk/libtext-shellwords-perl/debian/rules (original)
+++ trunk/libtext-shellwords-perl/debian/rules Tue Jan 15 14:58:41 2008
@@ -25,18 +25,19 @@
 
 	# 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
 
+	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:
@@ -45,7 +46,6 @@
 	dh_clean -k
 
 	# Add commands to install the package into debian/$PACKAGE_NAME here
-	#TEST#
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
 	# As this is a architecture independent package, we are not
@@ -53,7 +53,7 @@
 	# 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.
@@ -61,14 +61,9 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-#	dh_installexamples
-	dh_installdocs 
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb




More information about the Pkg-perl-cvs-commits mailing list