[Scons-dev] Likely bug - installing side effect files
Gary Oberbrunner
garyo at oberbrunner.com
Fri Oct 31 15:04:47 EDT 2014
On Fri, Oct 31, 2014 at 2:55 PM, Dirk Bächle <tshortik at gmx.de> wrote:
> I don't think there is anything to fix here...and it's no bug for me either.
> Please read the man page for the definition
> of a SideEffect, and when it should be used. My understanding is, that in
> your case the conditions do not apply...so you should rather define an
> Emitter (see http://www.scons.org/wiki/ToolsForFools for example) that adds
> "sf0" and "sf1" to the list of targets.
> Then the Install() should work as expected.
I disagree. He's explicitly passing the files in sf to Install();
Install() should always (try to) install all the files given as its
sources. Whether they're created as side effects or anything else
_shouldn't_ matter.
--
Gary
More information about the Scons-dev
mailing list