Generating the waf scriptThe waf is created from waf-light using the following command: ./waf-light --make-waf --strip or optionally if you want comments and docstrings included ./waf-light --make-waf The waf script created is standalone and can be redistributed freely (license: BSD). Installing waf on the systemWaf is a small script (fits in about 100kb) that can be redistributed easily. Most people put the waf script just in their project directory If you like, waf can be installed on the system using the following command waf install --prefix=/opt The waf directoryWhen run, first, waf checks if the WAFDIR environment variable is set. If the WAFDIR environment variable is set to a folder containing wafadmin/, waf will load its cache files from it. Setting WAFDIR is recommended for those using svn waf: export WAFDIR=/folder/trunk/waf/ If the cache loading from WAFDIR fails, waf will look if it was installed on the system and will try to load itself from there (the location is written in waf during waf install) /opt/bin/waf
/opt/lib/waf-1.1.0-1446451360 If not installed on the system, waf will uncompress its cache files in the directory where it is located, for example: /home/ita/bin/.waf-1.1.0-1446451360 Waf directory nameThe waf directory is follows a name convention: waf-version-revision, for example waf-1.1.0-1446451360. The version identifies the waf version, and the revision number is a generated random number. The purpose is to make it possible to run several different waf versions at the same time without errors.
|
or optionally if you want more debugging
./waf-light --make-waf
This is a bit vague. It should be more like:
or optionally if you want comments and docstrings included
./waf-light --make-waf