From 2096b36411ded686cf1c5497eb4ce2ec2bcdf09a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 28 Jan 2007 01:05:47 +0000 Subject: r21038: Move commands to distclean target (This used to be commit 6713945fbab2df5b695c11df623f16d0abd1a772) --- source4/main.mk | 2 ++ source4/script/mkrelease.sh | 13 ++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'source4') diff --git a/source4/main.mk b/source4/main.mk index 788b6b2efb..45671c6223 100644 --- a/source4/main.mk +++ b/source4/main.mk @@ -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) \ diff --git a/source4/script/mkrelease.sh b/source4/script/mkrelease.sh index 0df4edb1d7..cbad37c528 100755 --- a/source4/script/mkrelease.sh +++ b/source4/script/mkrelease.sh @@ -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 -- cgit