[Scons-users] target

Keith Brown keith6014 at gmail.com
Sat Jul 12 07:41:42 EDT 2014


Hello,

This works well.

env=Environment()
t1=env.Command(target="t1.done",
source=[],
action="task1 > $TARGET"
)

so, if t1.done is there task1 doesn't run

now if I do
t1=env.Command(target="/tmp/some/where/out/there/t1.done",
source=[]
action="task1"
)

it will still run task1 if /tmp/../../../t1.done is there.

So, if task1 creates files internally

#!/bin/bash
#task1
echo > /tmp/data/result

Can I use /tmp/data/result as my target?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140712/687fff5c/attachment.html>


More information about the Scons-users mailing list