r7522 - in /trunk/libimager-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Sep 13 09:13:17 UTC 2007


Author: dmn
Date: Thu Sep 13 09:13:17 2007
New Revision: 7522

URL: http://svn.debian.org/wsvn/?sc=1&rev=7522
Log:
* Cleaned up debian/rules
  + Moved test suite from install to build target
  + replaced a couple of "rm -f"s with dh_clean
  + Do not ignore errors from $(MAKE) distclean
  + Dropped unused/unneeded dh_* calls

Modified:
    trunk/libimager-perl/debian/changelog
    trunk/libimager-perl/debian/rules

Modified: trunk/libimager-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libimager-perl/debian/changelog?rev=7522&op=diff
==============================================================================
--- trunk/libimager-perl/debian/changelog (original)
+++ trunk/libimager-perl/debian/changelog Thu Sep 13 09:13:17 2007
@@ -3,8 +3,13 @@
   * (NOT RELEASED YET) New upstream release
   * Slightly improved debian/copyright wording
   * Added upstream URL to debian/copyright
+  * Cleaned up debian/rules
+    + Moved test suite from install to build target
+    + replaced a couple of "rm -f"s with dh_clean
+    + Do not ignore errors from $(MAKE) distclean
+    + Dropped unused/unneeded dh_* calls
 
- -- Damyan Ivanov <dmn at debian.org>  Thu, 13 Sep 2007 11:03:28 +0300
+ -- Damyan Ivanov <dmn at debian.org>  Thu, 13 Sep 2007 12:12:58 +0300
 
 libimager-perl (0.59-1) UNRELEASED; urgency=low
 

Modified: trunk/libimager-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libimager-perl/debian/rules?rev=7522&op=diff
==============================================================================
--- trunk/libimager-perl/debian/rules (original)
+++ trunk/libimager-perl/debian/rules Thu Sep 13 09:13:17 2007
@@ -35,18 +35,17 @@
 	# Add here commands to compile the package.
 	echo n | $(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH=""
+	$(MAKE) test
 
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
-	rm -f imconfig.h
+	dh_clean build-stamp
+	dh_clean imconfig.h
 	# Add here commands to clean up after the build process.
-	-$(MAKE) realclean
-
-	dh_clean
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: 
 	dh_testdir
@@ -56,7 +55,7 @@
 
 	# Add here commands to install the package into debian/tmp.
 	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
-	$(MAKE) test install PREFIX=$(TMP)/usr
+	$(MAKE) install PREFIX=$(TMP)/usr
 	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
 
 # Build architecture-independent files here.
@@ -68,20 +67,13 @@
 	dh_testdir
 	dh_testroot
 	dh_installdocs README
-	dh_installexamples 
-	dh_installmenu
-#	dh_installemacsen
-#	dh_installinit
-	dh_installcron
-	dh_installman
+	dh_installexamples samples/*
 	dh_installchangelogs Changes
-	dh_link
 	dh_strip
 	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