r21038: Move commands to distclean target
authorJelmer Vernooij <jelmer@samba.org>
Sun, 28 Jan 2007 01:05:47 +0000 (01:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:44:23 +0000 (14:44 -0500)
source/main.mk
source/script/mkrelease.sh

index 788b6b2efb5cc8ca862aeea79311fa94441235d4..45671c6223356d3a864f58c2824ddea34607b973 100644 (file)
@@ -273,6 +273,7 @@ distclean: clean
        -rm -f config.status
        -rm -f config.log config.cache
        -rm -f config.pm config.mk
+       -rm -rf webapps/qooxdoo-*-sdk/frontend/framework/.cache
        -rm -f $(PC_FILES)
 
 removebackup:
@@ -284,6 +285,7 @@ realdistclean: distclean removebackup
        -rm -f configure
        -rm -f $(MANPAGES)
 
+check:: test
 test: $(DEFAULT_TEST_TARGET)
 
 SELFTEST = builddir=$(builddir) srcdir=$(srcdir) \
index 0df4edb1d71fcfcbaf70f4bd275b7070e099a5c6..cbad37c528e00987101c8ee5d74439716a182b92 100755 (executable)
@@ -1,13 +1,12 @@
 #!/bin/sh
 
-FROM=$1
-VERSION=$2
+VERSION=$1
 
-svn export $FROM samba-$VERSION
+svn export . samba-$VERSION || exit 1
 
-( cd samba-$VERSION || exit 1
-  (cd source && ./autogen.sh ) || exit 1
-  rm -rf webapps/qooxdoo-*-sdk/frontend/framework/.cache || exit 1
-) || exit 1
+cd samba-$VERSION/source
+./autogen.sh || exit 1
+./configure || exit 1
+make dist  || exit 1
 
 tar -zcf samba-$VERSION.tar.gz samba-$VERSION