Include waf as an extracted source directory, rather than as a one-in-a-file script.
[samba.git] / buildtools / update-waf.sh
1 #!/bin/sh
2 # Update our copy of waf
3
4 TARGETDIR="`dirname $0`"
5 WORKDIR="`mktemp -d`"
6
7 mkdir -p "$WORKDIR"
8
9 svn checkout http://waf.googlecode.com/svn/branches/waf-1.5/wafadmin "$WORKDIR/wafadmin"
10
11 rsync -C -avz --delete "$WORKDIR/wafadmin/" "$TARGETDIR/wafadmin/"
12
13 rm -rf "$WORKDIR"