debian/changelog |    7 +++++++
 debian/rules     |   14 +++++++-------
 2 files changed, 14 insertions(+), 7 deletions(-)

New commits:
commit 6f2d50e66a111dee8a7eb3c7d0ec1cdee1551adb
Author: Julien Cristau <[email protected]>
Date:   Sat Jan 16 16:48:55 2010 +0000

    Rename the build directory to not include DEB_BUILD_GNU_TYPE for no good 
reason.  Thanks, Colin Watson!

diff --git a/debian/changelog b/debian/changelog
index 9b4c881..faf7894 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libsm (2:1.1.1-2) UNRELEASED; urgency=low
+
+  * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
+    good reason.  Thanks, Colin Watson!
+
+ -- Julien Cristau <[email protected]>  Sat, 16 Jan 2010 16:47:41 +0000
+
 libsm (2:1.1.1-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index b3ee222..69d1f5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,19 +41,19 @@ autogen-stamp: $(STAMP_DIR)/patch
        autoreconf -vfi
        >$@
 
-obj-$(DEB_BUILD_GNU_TYPE)/config.status: autogen-stamp
+build/config.status: autogen-stamp
        dh_testdir
-       test -d obj-$(DEB_BUILD_GNU_TYPE) || mkdir obj-$(DEB_BUILD_GNU_TYPE)
-       cd obj-$(DEB_BUILD_GNU_TYPE) && \
+       test -d build || mkdir build
+       cd build && \
        ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
                     --infodir=\$${prefix}/share/info $(confflags) \
                     CFLAGS="$(CFLAGS)" 
 
 .PHONY: build
 build: build-stamp
-build-stamp: obj-$(DEB_BUILD_GNU_TYPE)/config.status
+build-stamp: build/config.status
        dh_testdir
-       cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
+       cd build && $(MAKE)
        >$@
 
 clean: xsfclean
@@ -65,7 +65,7 @@ clean: xsfclean
        rm -f */config.cache */config.log */config.status
        rm -f conftest* */conftest*
        rm -rf autom4te.cache */autom4te.cache
-       rm -rf obj-*
+       rm -rf build
        rm -f $$(find -name Makefile.in)
        rm -f compile config.guess config.sub configure depcomp install-sh
        rm -f ltmain.sh missing INSTALL aclocal.m4 config.h.in
@@ -79,7 +79,7 @@ install: build
        dh_clean -k
        dh_installdirs
 
-       cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp 
install
+       cd build && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 
 # Build architecture-dependent files here.
 binary-arch: build install


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to