make clean preceding make all

Rainer Müller raimue at
Sun Oct 12 13:53:18 PDT 2014

On 2014-10-12 22:16, Mark Brethen wrote:
> How does one setup a portfile to do a 'make clean' before a 'make all'? I thought of using
>     pre-build {        
>         system -W ${somedir} "${build.cmd} clean"
>     }

You can just give make both targets: clean all


More information about the macports-dev mailing list