s4:dsdb - fix unsigned integer save problems using the "%u" specifier
[kai/samba.git] / source4 / autogen-waf.sh
index f168e69676d356ca8ecab78d08f4987b61bb2702..6541688c11c77ea19f6355f5bfaa1e202cc550ab 100755 (executable)
@@ -1,10 +1,11 @@
 #!/bin/sh
 
-echo "Setting up for waf build"
-rm -f configure Makefile
-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