r11844 - in /trunk/libauthen-sasl-cyrus-perl/debian: changelog rules

rra at users.alioth.debian.org rra at users.alioth.debian.org
Sat Dec 29 23:04:51 UTC 2007


Author: rra
Date: Sat Dec 29 23:04:51 2007
New Revision: 11844

URL: http://svn.debian.org/wsvn/?sc=1&rev=11844
Log:
* Use DESTDIR rather than PREFIX when installing.

Modified:
    trunk/libauthen-sasl-cyrus-perl/debian/changelog
    trunk/libauthen-sasl-cyrus-perl/debian/rules

Modified: trunk/libauthen-sasl-cyrus-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libauthen-sasl-cyrus-perl/debian/changelog?rev=11844&op=diff
==============================================================================
--- trunk/libauthen-sasl-cyrus-perl/debian/changelog (original)
+++ trunk/libauthen-sasl-cyrus-perl/debian/changelog Sat Dec 29 23:04:51 2007
@@ -8,6 +8,7 @@
   [ Russ Allbery ]
   * Tell Makefile.PL not to create /usr/share/perl5 and remove the
     rmdir, which fails with Perl 5.10.
+  * Use DESTDIR rather than PREFIX when installing.
   * Update standards version to 3.7.3 (no changes required).
   * Update debhelper compatibility level to V5 (no changes required).
   * Wrap Build-Depends for readability.

Modified: trunk/libauthen-sasl-cyrus-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libauthen-sasl-cyrus-perl/debian/rules?rev=11844&op=diff
==============================================================================
--- trunk/libauthen-sasl-cyrus-perl/debian/rules (original)
+++ trunk/libauthen-sasl-cyrus-perl/debian/rules Sat Dec 29 23:04:51 2007
@@ -8,7 +8,7 @@
 export PERL_MM_USE_DEFAULT=1
 
 PACKAGE := libauthen-sasl-cyrus-perl
-PREFIX  := $(CURDIR)/debian/$(PACKAGE)/usr
+DESTDIR := $(CURDIR)/debian/$(PACKAGE)
 PERL    ?= /usr/bin/perl
 
 # Allow disabling build optimation by setting noopt in $DEB_BUILD_OPTIONS.
@@ -44,8 +44,8 @@
 	dh_testroot
 	dh_clean -k
 	USER=testuser $(MAKE) test
-	$(MAKE) install PREFIX=$(PREFIX)
-	chmod 644 $(PREFIX)/lib/perl5/Authen/SASL/Cyrus.pod
+	$(MAKE) install DESTDIR=$(DESTDIR)
+	chmod 644 $(DESTDIR)/usr/lib/perl5/Authen/SASL/Cyrus.pod
 	touch install-stamp
 
 binary: binary-arch binary-indep




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