On Sep 21, 2014, at 10:50 AM, Mark Brethen <[email protected]> wrote:

> This is how I currently handle it:
> 
> system "cd ${cslbuilddir}/csl; exec make testall"
> 
> Note that this makefile is 2 levels deep from ${worksrcpath} 

Do you have to run it from that csl directory? Does the primary makefile not 
have an appropriate target?

And is a failed "system" command in a post-build script considered fatal? I 
don't recall off the top of my head. You might have to use "catch" to get the 
behavior you want.

In any case, you should use system -W and build.cmd for this.

    system -W ${cslbuilddir}/csl "${build.cmd} testall"

vq
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to