heimdal Build ticket with the canonical server name
[kai/samba.git] / source4 / autogen-waf.sh
index 3d08fe075cd5f51daf2a1f3ad0ed9a4e86ec813f..6541688c11c77ea19f6355f5bfaa1e202cc550ab 100755 (executable)
@@ -1,10 +1,11 @@
 #!/bin/sh
 
-echo "Setting up for waf build"
-rm -f configure
-cp configure.waf configure
+p=`dirname $0`
 
-# this relies on the fact that make looks for 'makefile' before 'Makefile'
-cp Makefile.waf makefile
+echo "Setting up for waf build"
 
-echo "done ... now run ./configure or ./configure.developer"
+echo "done. Now run $p/configure or $p/configure.developer then make."
+if [ $p != "." ]; then
+       echo "Notice: The build invoke path is not 'source4'! Use make with the parameter"
+       echo "-C $p. Example: make -C $p all"
+fi