r8541 - in /trunk/libdevice-serialport-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Oct 24 06:26:17 UTC 2007


Author: dmn
Date: Wed Oct 24 06:26:17 2007
New Revision: 8541

URL: http://svn.debian.org/wsvn/?sc=1&rev=8541
Log:
* Clean up debian/rules
  + Move test suite from install to build target
  + Drop unused dh_ calls
  + Do not "ifeq" dh_strip as it can parse the environment by itself
  + Remove stamps before distclean

Modified:
    trunk/libdevice-serialport-perl/debian/changelog
    trunk/libdevice-serialport-perl/debian/rules

Modified: trunk/libdevice-serialport-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdevice-serialport-perl/debian/changelog?rev=8541&op=diff
==============================================================================
--- trunk/libdevice-serialport-perl/debian/changelog (original)
+++ trunk/libdevice-serialport-perl/debian/changelog Wed Oct 24 06:26:17 2007
@@ -7,8 +7,13 @@
 
   [ Damyan Ivanov ]
   * Freshen-up copyright years
+  * Clean up debian/rules
+    + Move test suite from install to build target
+    + Drop unused dh_ calls
+    + Do not "ifeq" dh_strip as it can parse the environment by itself
+    + Remove stamps before distclean
 
- -- Damyan Ivanov <dmn at debian.org>  Wed, 24 Oct 2007 09:22:19 +0300
+ -- Damyan Ivanov <dmn at debian.org>  Wed, 24 Oct 2007 09:25:47 +0300
 
 libdevice-serialport-perl (1.002-1) unstable; urgency=low
 

Modified: trunk/libdevice-serialport-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdevice-serialport-perl/debian/rules?rev=8541&op=diff
==============================================================================
--- trunk/libdevice-serialport-perl/debian/rules (original)
+++ trunk/libdevice-serialport-perl/debian/rules Wed Oct 24 06:26:17 2007
@@ -35,6 +35,7 @@
 	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	$(MAKE) test
 
 	touch build-stamp
 
@@ -42,10 +43,10 @@
 	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: install-stamp
 install-stamp:
@@ -54,7 +55,6 @@
 	dh_clean -k
 
 	# Add here commands to install the package into debian/tmp.
-	$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 	
 	# As this is a architecture dependent package, we are not supposed to install
@@ -74,19 +74,13 @@
 	dh_testroot
 	dh_installdocs TODO README
 	dh_installexamples eg/*
-#	dh_installmenu
-#	dh_installcron
-#	dh_installman
 	dh_installchangelogs Changes
 	dh_link
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	dh_strip
-endif
 	dh_compress
 	dh_fixperms
-	dh_makeshlibs
 	dh_installdeb
-	dh_perl 
+	dh_perl
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums




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