Since Waf 1.5.4, it is possible to chain several commands, for example:
waf distclean configure build
The execution will stop as soon as an error is encountered, for example if distclean fails, the configuration and the build will not be executed, so the command is equivalent to:
waf distclean && waf configure && waf
A frequent usecase is to chain the execution of build and cleaning steps:
waf distclean configure build clean build
As a special exception, the function init is always prepended to the commands to execute, and the function shutdown is always appended.