[Scons-dev] Likely bug - installing side effect files

Gary Oberbrunner garyo at oberbrunner.com
Thu Oct 30 10:30:15 EDT 2014


On Thu, Oct 30, 2014 at 9:34 AM, Ben Golding <Ben.Golding at synopsys.com> wrote:
> tgt = Command('tgt', 'src', 'touch $TARGET sf0 sf1')
>   sf = SideEffect([ 'sf0', 'sf1' ], tgt)
>   Install('dir', tgt + sf)

I can reproduce this bug.  Please file a ticket!  The dependency tree
looks OK, and I can't easily see the cause of the bug.

Adding sf0 and sf1 to the targets list instead of as side effects makes it work.

-- 
Gary


More information about the Scons-dev mailing list