r8726 - in /trunk/libdigest-crc-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Thu Nov 1 11:25:28 UTC 2007


Author: gregoa-guest
Date: Thu Nov  1 11:25:28 2007
New Revision: 8726

URL: http://svn.debian.org/wsvn/?sc=1&rev=8726
Log:
debian/rules:
  - Don't ignore errors of $(MAKE) distclean.
  - Move tests to build target.
  - Call dh_clean before $(MAKE) distclean.
  - Remove unused dh_* calls.

Modified:
    trunk/libdigest-crc-perl/debian/changelog
    trunk/libdigest-crc-perl/debian/rules

Modified: trunk/libdigest-crc-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdigest-crc-perl/debian/changelog?rev=8726&op=diff
==============================================================================
--- trunk/libdigest-crc-perl/debian/changelog (original)
+++ trunk/libdigest-crc-perl/debian/changelog Thu Nov  1 11:25:28 2007
@@ -6,8 +6,13 @@
     Vcs-Svn fields.
   * Set Standards-Version to 3.7.2 (no changes needed).
   * Set debhelper compatibility level to 5.
+  * debian/rules:
+    - Don't ignore errors of $(MAKE) distclean.
+    - Move tests to build target.
+    - Call dh_clean before $(MAKE) distclean.
+    - Remove unused dh_* calls.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Thu, 01 Nov 2007 12:15:35 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Thu, 01 Nov 2007 12:23:14 +0100
 
 libdigest-crc-perl (0.10-1) unstable; urgency=low
 

Modified: trunk/libdigest-crc-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdigest-crc-perl/debian/rules?rev=8726&op=diff
==============================================================================
--- trunk/libdigest-crc-perl/debian/rules (original)
+++ trunk/libdigest-crc-perl/debian/rules Thu Nov  1 11:25:28 2007
@@ -32,9 +32,9 @@
 build-stamp:
 	dh_testdir
 
-	# 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 +42,8 @@
 	dh_testdir
 	dh_testroot
 
-	# Add commands to clean up after the build process here
-	-$(MAKE) realclean
-
 	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: install-stamp
 install-stamp:
@@ -53,8 +51,6 @@
 	dh_testroot
 	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
@@ -73,10 +69,6 @@
 	dh_testdir
 	dh_testroot
 	dh_installdocs README
-	dh_installexamples 
-#	dh_installmenu
-#	dh_installcron
-#	dh_installman
 	dh_installchangelogs Changes
 	dh_link
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
@@ -84,7 +76,6 @@
 endif
 	dh_compress
 	dh_fixperms
-	dh_makeshlibs
 	dh_installdeb
 	dh_perl 
 	dh_shlibdeps




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