[Pkg-samba-maint] r3441 - trunk/samba4/debian
jelmer at alioth.debian.org
jelmer at alioth.debian.org
Sun Apr 11 16:27:34 UTC 2010
Author: jelmer
Date: 2010-04-11 16:27:32 +0000 (Sun, 11 Apr 2010)
New Revision: 3441
Modified:
trunk/samba4/debian/build-orig.sh
Log:
Use waf to build dist tarball.
Modified: trunk/samba4/debian/build-orig.sh
===================================================================
--- trunk/samba4/debian/build-orig.sh 2010-04-11 12:03:02 UTC (rev 3440)
+++ trunk/samba4/debian/build-orig.sh 2010-04-11 16:27:32 UTC (rev 3441)
@@ -8,26 +8,19 @@
version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
if [ -d $GIT_URL/.bzr ]; then
- bzr export samba4-$version $GIT_URL
+ bzr export samba4-upstream-$version $GIT_URL
else
- git clone --depth 1 -l $GIT_URL samba4-$version
+ git clone $GIT_URL samba4-upstream-$version
fi
-rm -rf "samba4-$version/source3"
-`dirname $0`/dfsg-clean.sh "samba4-$version"
-
-rm -rf "samba4-$version/.git"
-rm -rf samba4-$version/README \
- samba4-$version/Manifest \
- samba4-$version/Read-Manifest-Now \
- samba4-$version/Roadmap \
- samba4-$version/source3 \
- samba4-$version/packaging \
- samba4-$version/docs-xml \
- samba4-$version/examples \
- samba4-$version/swat \
- samba4-$version/WHATSNEW.txt \
- samba4-$version/MAINTAINERS || exit 1
-pushd "samba4-$version/source4" && ./autogen.sh && ./configure && make dist && popd
-tar cz "samba4-$version" > "samba4_$version.orig.tar.gz"
-rm -rf "samba4-$version"
+pushd "samba4-upstream-$version/source4"
+./autogen-waf.sh
+./configure
+../buildtools/bin/waf dist
+tar xfz samba-4.*.tar.gz
+rm samba-4*.tar.gz
+mv samba-4* "samba4-$version"
+../../`dirname $0`/dfsg-clean.sh "samba4-$version"
+tar cj "samba4-$version" > ../../samba4_$version.orig.tar.bz2
+popd
+rm -rf "samba4-upstream-$version"
More information about the Pkg-samba-maint
mailing list