r14042 - in /trunk/libtext-quoted-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Feb 2 22:40:40 UTC 2008


Author: gregoa-guest
Date: Sat Feb  2 22:40:39 2008
New Revision: 14042

URL: http://svn.debian.org/wsvn/?sc=1&rev=14042
Log:
debian/rules:
  - remove DESTDIR variable
  - use TMP variable when removing empty directory

Modified:
    trunk/libtext-quoted-perl/debian/changelog
    trunk/libtext-quoted-perl/debian/rules

Modified: trunk/libtext-quoted-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtext-quoted-perl/debian/changelog?rev=14042&op=diff
==============================================================================
--- trunk/libtext-quoted-perl/debian/changelog (original)
+++ trunk/libtext-quoted-perl/debian/changelog Sat Feb  2 22:40:39 2008
@@ -8,8 +8,11 @@
   * debian/watch: use dist-based URL.
   * Set Standards-Version to 3.7.3 (no changes).
   * Set debhelper compatibility level to 6.
+  * debian/rules:
+    - remove DESTDIR variable
+    - use TMP variable when removing empty directory
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 02 Feb 2008 23:35:46 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 02 Feb 2008 23:36:47 +0100
 
 libtext-quoted-perl (2.03-1) unstable; urgency=low
 

Modified: trunk/libtext-quoted-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtext-quoted-perl/debian/rules?rev=14042&op=diff
==============================================================================
--- trunk/libtext-quoted-perl/debian/rules (original)
+++ trunk/libtext-quoted-perl/debian/rules Sat Feb  2 22:40:39 2008
@@ -6,8 +6,6 @@
 PACKAGE=$(shell dh_listpackages)
 
 PERL = /usr/bin/perl
-
-DESTDIR=..
 
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
@@ -28,9 +26,9 @@
 
 	touch build-stamp
 
-clean: 
+clean:
 	dh_testdir
-	dh_testroot 
+	dh_testroot
 
 	dh_clean build-stamp configure-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
@@ -43,9 +41,7 @@
 
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 
-	# Remove any empty directories
-
-	[ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 
 # Build architecture-independent files here.
 binary-arch: build install




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