Use a C++ bool constant
[ardour.git] / doc / updating_waf.txt
index 80b4e121c7c3b8c3510bdc8521ec43ba62c73128..69c1225d63290ee9036bf64faa9096c9a51876a8 100644 (file)
@@ -1,10 +1,15 @@
-Download waf (http://code.google.com/p/waf/)
-Download autowaf (http://svn.drobilla.net/autowaf)
+Download waf (https://waf.io/)
 
-* MAKE SURE that the --debug option is set to True by default (drobilla's
-  original sets it to False by default)
+autowaf.py is present in the tools directory of the Ardour source code.
+a patch for C++11/clang can be found in tools/waflib.patch (needed for waf 1.8.19)
 
-From within the waf source tree, run:
+Current waf is build as follows;
 
-./waf-light -v --make-waf --tools=misc,doxygen,/path/to/autowaf.py --prelude=''
-cp ./waf /path/to/ardour/3.0/waf
+ARDOURSRC=`pwd`
+cd /tmp
+curl https://waf.io/waf-1.6.11.tar.bz2 | tar xj
+cd waf-1.6.11
+
+patch -p1 < $ARDOURSRC/tools/waflib.patch
+./waf-light -v --make-waf --tools=misc,doxygen,$ARDOURSRC/tools/autowaf.py --prelude=''
+cp ./waf $ARDOURSRC/waf