summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/main.mk2
-rwxr-xr-xsource4/script/mkrelease.sh13
2 files changed, 8 insertions, 7 deletions
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