[Pkg-cyrus-sasl2-commits] r563 - /cyrus-sasl-2.1/branches/package-consolidate/debian/rules
roberto at users.alioth.debian.org
roberto at users.alioth.debian.org
Fri Aug 20 02:03:40 UTC 2010
Author: roberto
Date: Fri Aug 20 02:03:36 2010
New Revision: 563
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/?sc=1&rev=563
Log:
Fix up a few more shell variables
Modified:
cyrus-sasl-2.1/branches/package-consolidate/debian/rules
Modified: cyrus-sasl-2.1/branches/package-consolidate/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/cyrus-sasl-2.1/branches/package-consolidate/debian/rules?rev=563&op=diff
==============================================================================
--- cyrus-sasl-2.1/branches/package-consolidate/debian/rules (original)
+++ cyrus-sasl-2.1/branches/package-consolidate/debian/rules Fri Aug 20 02:03:36 2010
@@ -67,6 +67,8 @@
awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
# Some convenience variables
+export TMPBUILD_MIT := $(CURDIR)/build-mit
+export TMPBUILD_HEIMDAL := $(CURDIR)/build-heimdal
export TMPPKG_MIT := $(CURDIR)/debian/tmp-mit
export TMPPKG_HEIMDAL := $(CURDIR)/debian/tmp-heimdal
@@ -136,7 +138,7 @@
touch configure
$(AUTOTOOLS)
(cd saslauthd && $(AUTOTOOLS) && cd ..)
- (mkdir build-mit; cd build-mit; \
+ (mkdir $(TMPBUILD_MIT); cd $(TMPBUILD_MIT); \
LDFLAGS="$(LDFLAGS) -Wl,-z,defs" CFLAGS="$(CFLAGS)" ../configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
@@ -173,7 +175,7 @@
--sysconfdir=/etc \
--with-devrandom=/dev/urandom; \
cd ..)
- (mkdir build-heimdal; cd build-heimdal; \
+ (mkdir $(TMPBUILD_HEIMDAL); cd $(TMPBUILD_HEIMDAL); \
LDFLAGS="$(LDFLAGS) -Wl,-z,defs" CFLAGS="$(CFLAGS)" ../configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
@@ -217,7 +219,7 @@
# Record the build-time settings for later reference
echo 'To build this package, configure was called as follows:' \
> debian/README.configure-options
- grep with\ options $(TMPPKG_MIT)/config.status | sed -e \
+ grep with\ options $(TMPBUILD_MIT)/config.status | sed -e \
's/^.*options \\"/configure /;s/\\"$///' \
>> debian/README.configure-options
More information about the Pkg-cyrus-sasl2-commits
mailing list