summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-28 01:05:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:23 -0500
commit2096b36411ded686cf1c5497eb4ce2ec2bcdf09a (patch)
tree57b321338f505eb4575aa960c3660d1a60456bc1 /source4
parent96c3cb957b6b4039f44bb1f903d492b1bb5f006c (diff)
downloadsamba-2096b36411ded686cf1c5497eb4ce2ec2bcdf09a.tar.gz
samba-2096b36411ded686cf1c5497eb4ce2ec2bcdf09a.tar.bz2
samba-2096b36411ded686cf1c5497eb4ce2ec2bcdf09a.zip
r21038: Move commands to distclean target
(This used to be commit 6713945fbab2df5b695c11df623f16d0abd1a772)
Diffstat (limited to 'source4')
-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