s4-build: remove any 'makefile' that may have been left by the waf build
authorAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:48:15 +0000 (20:48 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:48:33 +0000 (20:48 +1000)
this allows ./autogen.sh to be used to switch back to the old build
system after trying the waf build

source4/autogen.sh

index 1936af4351238fcf90731893ceff1c1119e1aadd..86fb1ac7abf7e9ea381b1c7838402076060c96d6 100755 (executable)
@@ -80,5 +80,8 @@ $AUTOCONF $IPATHS || exit 1
 
 rm -rf autom4te*.cache
 
+# remove a 'makefile' that may have been left by the waf build
+rm -f makefile
+
 echo "Now run ./configure (or ./configure.developer) and then make."
 exit 0