summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-28 20:33:28 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-05-28 21:59:12 +1000
commitb088a275512634af0adefe632097846439e83f92 (patch)
tree0237479be78a74f4d13db2a1036732fefdd475ef /source4/script
parent7ea7b23413f48325d1805fd2666757241eddc2e7 (diff)
downloadsamba-b088a275512634af0adefe632097846439e83f92.tar.gz
samba-b088a275512634af0adefe632097846439e83f92.tar.bz2
samba-b088a275512634af0adefe632097846439e83f92.zip
s4:build use autotools for mkrelease.sh
The mkrelease.sh script only works with the autotools build. However, it isn't recommended. Andrew Bartlett
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/mkrelease.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/script/mkrelease.sh b/source4/script/mkrelease.sh
index 303dfe6d95..21bfd2cf2b 100755
--- a/source4/script/mkrelease.sh
+++ b/source4/script/mkrelease.sh
@@ -6,6 +6,8 @@ if [ ! -d ".git" -o `dirname $0` != "./source4/script" ]; then
exit 1
fi
+echo "WARNING: This script prepares an autotools based release, which has known problems!"
+
OUTDIR=`mktemp -d samba-XXXXX`
(git archive --format=tar HEAD | (cd $OUTDIR/ && tar xf -))
@@ -16,7 +18,7 @@ echo SAMBA_VERSION_IS_GIT_SNAPSHOT=no >> $OUTDIR/source4/VERSION
( cd $OUTDIR/ || exit 1
rm -rf README Manifest Read-Manifest-Now Roadmap source3 packaging docs-xml examples swat WHATSNEW.txt MAINTAINERS || exit 1
cd source4 || exit 1
- ./autogen.sh || exit 1
+ ./autogen-autotools.sh || exit 1
./configure || exit 1
make dist || exit 1
) || exit 1