r11887 - in /trunk/libsys-syslog-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Tue Jan 1 21:04:14 UTC 2008


Author: gregoa-guest
Date: Tue Jan  1 21:04:13 2008
New Revision: 11887

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

Modified:
    trunk/libsys-syslog-perl/debian/changelog
    trunk/libsys-syslog-perl/debian/rules

Modified: trunk/libsys-syslog-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libsys-syslog-perl/debian/changelog?rev=11887&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/changelog (original)
+++ trunk/libsys-syslog-perl/debian/changelog Tue Jan  1 21:04:13 2008
@@ -5,6 +5,7 @@
     in the upstream test code.
   * Set Standards-Version to 3.7.3 (no changes needed).
   * debian/watch: use dist-based URL.
+  * debian/rules: remove /usr/share/perl5 only if it exists.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 01 Jan 2008 21:48:27 +0100
 

Modified: trunk/libsys-syslog-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libsys-syslog-perl/debian/rules?rev=11887&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/rules (original)
+++ trunk/libsys-syslog-perl/debian/rules Tue Jan  1 21:04:13 2008
@@ -37,7 +37,7 @@
 		INSTALLDIRS=vendor \
 		DESTDIR=$(CURDIR)/debian/libsys-syslog-perl \
 		PREFIX=/usr
-	rmdir --parents --ignore-fail-on-non-empty $(CURDIR)/debian/libsys-syslog-perl/usr/share/perl5
+	[ ! -d $(CURDIR)/debian/libsys-syslog-perl/usr/share/perl5 ] || rmdir --parents --ignore-fail-on-non-empty $(CURDIR)/debian/libsys-syslog-perl/usr/share/perl5
 
 # Build architecture-independent files here.
 binary-indep: build install




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