source: vendor/3.6.0/source3/autogen-waf.sh

Last change on this file was 740, checked in by Silvan Scherrer, 13 years ago

Samba Server: update vendor to 3.6.0

File size: 773 bytes
Line 
1#!/bin/sh
2
3p=`dirname $0`
4
5echo "Setting up for waf build"
6
7echo "Looking for the buildtools directory"
8
9d="buildtools"
10while test \! -d "$p/$d"; do d="../$d"; done
11
12echo "Found buildtools in $p/$d"
13
14echo "Setting up configure"
15rm -f $p/configure $p/include/config*.h*
16sed "s|BUILDTOOLS|$d|g;s|BUILDPATH|$p|g" < "$p/$d/scripts/configure.waf" > $p/configure
17chmod +x $p/configure
18
19echo "Setting up Makefile"
20rm -f $p/makefile $p/Makefile
21sed "s|BUILDTOOLS|$d|g" < "$p/$d/scripts/Makefile.waf" > $p/Makefile
22
23echo "done. Now run $p/configure or $p/configure.developer then make."
24if [ $p != "." ]; then
25 echo "Notice: The build invoke path is not 'source3'! Use make with the parameter"
26 echo "-C <'source3' path>. Example: make -C source3 all"
27fi
Note: See TracBrowser for help on using the repository browser.