My suggestion is to encourage creation of build dir outside the source tree.
Also please state that the code block is suggested to be a script (since you use ``$@`` there)