[Pkg-cyrus-sasl2-commits] r578 - /cyrus-sasl-2.1/branches/package-consolidate/debian/rules
roberto at users.alioth.debian.org
roberto at users.alioth.debian.org
Sat Aug 21 02:14:03 UTC 2010
Author: roberto
Date: Sat Aug 21 02:13:59 2010
New Revision: 578
URL: http://svn.debian.org/wsvn/pkg-cyrus-sasl2/?sc=1&rev=578
Log:
clean up debian/rules
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=578&op=diff
==============================================================================
--- cyrus-sasl-2.1/branches/package-consolidate/debian/rules (original)
+++ cyrus-sasl-2.1/branches/package-consolidate/debian/rules Sat Aug 21 02:13:59 2010
@@ -178,6 +178,14 @@
--sysconfdir=/etc \
--with-devrandom=/dev/urandom; \
cd ..)
+ # Cope with the way that ./configure creates symlinks
+ cp $(CURDIR)/sasldb/* $(TMPBUILD_MIT)/sasldb/
+ cp $(CURDIR)/plugins/* $(TMPBUILD_MIT)/plugins/
+ cp $(CURDIR)/lib/* $(TMPBUILD_MIT)/lib/
+ cp -d $(TMPBUILD_MIT)/sasldb/* $(CURDIR)/sasldb/
+ cp -d $(TMPBUILD_MIT)/plugins/* $(CURDIR)/plugins/
+ cp -d $(TMPBUILD_MIT)/lib/* $(CURDIR)/lib/
+ $(MAKE) distclean
(mkdir $(TMPBUILD_HEIMDAL); cd $(TMPBUILD_HEIMDAL); \
LDFLAGS="$(LDFLAGS) -L/usr/lib/heimdal -Wl,-z,defs" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -I/usr/include/heimdal" ../configure \
--host=$(DEB_HOST_GNU_TYPE) \
@@ -215,6 +223,13 @@
--sysconfdir=/etc \
--with-devrandom=/dev/urandom; \
cd ..)
+ # Cope with the way that ./configure creates symlinks
+ cp $(CURDIR)/sasldb/* $(TMPBUILD_HEIMDAL)/sasldb/
+ cp $(CURDIR)/plugins/* $(TMPBUILD_HEIMDAL)/plugins/
+ cp $(CURDIR)/lib/* $(TMPBUILD_HEIMDAL)/lib/
+ cp -d $(TMPBUILD_HEIMDAL)/sasldb/* $(CURDIR)/sasldb/
+ cp -d $(TMPBUILD_HEIMDAL)/plugins/* $(CURDIR)/plugins/
+ cp -d $(TMPBUILD_HEIMDAL)/lib/* $(CURDIR)/lib/
# Prepare to build sample-{client,server}
cp -f $(CURDIR)/debian/sample/config.h $(CURDIR)/sample/config.h
More information about the Pkg-cyrus-sasl2-commits
mailing list