#!/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