r12226 - in /trunk/libalien-wxwidgets-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Jan 8 15:44:38 UTC 2008


Author: dmn
Date: Tue Jan  8 15:44:38 2008
New Revision: 12226

URL: http://svn.debian.org/wsvn/?sc=1&rev=12226
Log:
* debian/rules: delete /usr/share/perl5 only if it exists.

Modified:
    trunk/libalien-wxwidgets-perl/debian/changelog
    trunk/libalien-wxwidgets-perl/debian/rules

Modified: trunk/libalien-wxwidgets-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libalien-wxwidgets-perl/debian/changelog?rev=12226&op=diff
==============================================================================
--- trunk/libalien-wxwidgets-perl/debian/changelog (original)
+++ trunk/libalien-wxwidgets-perl/debian/changelog Tue Jan  8 15:44:38 2008
@@ -6,6 +6,7 @@
   * Add libtest-pod-perl and libtest-pod-coverage-perl to Build-Depends
   * Stop removing usr/lib/perl5/auto/Alien/wxWidgets/ as it is not
     created
+  * debian/rules: delete /usr/share/perl5 only if it exists.
 
  -- Damyan Ivanov <dmn at debian.org>  Tue, 08 Jan 2008 16:58:40 +0200
 

Modified: trunk/libalien-wxwidgets-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libalien-wxwidgets-perl/debian/rules?rev=12226&op=diff
==============================================================================
--- trunk/libalien-wxwidgets-perl/debian/rules (original)
+++ trunk/libalien-wxwidgets-perl/debian/rules Tue Jan  8 15:44:38 2008
@@ -59,7 +59,7 @@
 	# Add commands to install the package into debian/$PACKAGE_NAME here
 	$(PERL) Build install destdir=$(TMP) create_packlist=0
 
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
+	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
 	install -d $(TMP)/usr/share/lintian/overrides
 	cp debian/lintian-overrides $(TMP)/usr/share/lintian/overrides/libalien-wxwidgets-perl
 	touch install-stamp




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