r11868 - in /trunk/libio-socket-multicast-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Dec 30 19:11:24 UTC 2007


Author: gregoa-guest
Date: Sun Dec 30 19:11:23 2007
New Revision: 11868

URL: http://svn.debian.org/wsvn/?sc=1&rev=11868
Log:
debian/rules:
  - remove /usr/share/perl5 only if it exists
  - don't ignore errors of make realclean

Modified:
    trunk/libio-socket-multicast-perl/debian/changelog
    trunk/libio-socket-multicast-perl/debian/rules

Modified: trunk/libio-socket-multicast-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libio-socket-multicast-perl/debian/changelog?rev=11868&op=diff
==============================================================================
--- trunk/libio-socket-multicast-perl/debian/changelog (original)
+++ trunk/libio-socket-multicast-perl/debian/changelog Sun Dec 30 19:11:23 2007
@@ -3,6 +3,9 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
+  * debian/rules:
+    - remove /usr/share/perl5 only if it exists
+    - don't ignore errors of make realclean
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:29:53 +0200
 

Modified: trunk/libio-socket-multicast-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libio-socket-multicast-perl/debian/rules?rev=11868&op=diff
==============================================================================
--- trunk/libio-socket-multicast-perl/debian/rules (original)
+++ trunk/libio-socket-multicast-perl/debian/rules Sun Dec 30 19:11:23 2007
@@ -37,7 +37,7 @@
 	rm -f build-stamp
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) realclean
+	[ ! -f Makefile ] || $(MAKE) realclean
 
 	dh_clean
 
@@ -49,7 +49,7 @@
 
 	$(MAKE) test
 	$(MAKE) install PREFIX=$(TMP)/usr
-	-rmdir $(TMP)/usr/share/perl5
+	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
 
 # Build architecture-dependent files here.
 binary-indep: build install




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