1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

update script to build a tarball from the cvs tree

(This used to be commit 3780ee9ea0)
This commit is contained in:
Gerald Carter 2004-02-02 14:46:20 +00:00
parent 7847b611ac
commit a2d79f9988

View File

@ -6,6 +6,7 @@
##
## Usgae: ./make-tarball.sh
DOCSDIR=../samba-docs/
USING_SAMBA=../using_samba/
SRCDIR=`pwd`
@ -21,6 +22,17 @@ if [ ! -d $USING_SAMBA ]; then
fi
if [ ! -d $DOCSDIR ]; then
echo Cannot find samba-docs \(assuming $DOCSDIR\).
echo Please set the DOCSDIR variable in this script
echo to the correct path.
exit 1
fi
VERSION=`grep SAMBA_VERSION_OFFICIAL_STRING source/include/version.h | cut -d\" -f2 | sed 's/ /_/g'`
TARBALLDIR=/tmp/samba-$VERSION
@ -31,6 +43,8 @@ echo Creating the tarball source directory in $TARBALLDIR
mkdir $TARBALLDIR
rsync -aC ./ $TARBALLDIR
/bin/rm -rf $TARBALLDIR/docs/*
rsync -aC $DOCSDIR/ $TARBALLDIR/docs/
rsync -aC $USING_SAMBA $TARBALLDIR/docs/htmldocs/
echo Creating packaging scripts...