[Scons-users] Install(...) usage question

pholat pholat at gmail.com
Tue Jul 5 09:41:25 EDT 2016


Great thanks Bill, your answer really helped me a lot!

Pozdrawiam,
Adam A. Dobrowolski || pholat

2016-07-05 15:09 GMT+02:00 Bill Deegan <bill at baddogconsulting.com>:

> Adam,
>
> Just like every other builder in SCons, Install will only do so when the
> file has changed.
> If you use --debug=explain, it will even tell you why it is run.
>
> (Of course if you use
> AlwaysBuild(target, ...) , env.AlwaysBuild(target, ...)
>
> Then it will always Install the target)
>
>
> -Bill
>
> On Tue, Jul 5, 2016 at 7:54 AM, pholat <pholat at gmail.com> wrote:
>
>> And tell me - what if behavior is unspecified? Or system specific?
>> Shall I buy few PC's and check?
>> Checking code would be faster and asking mailing list might be even
>> faster... oh wait, I did that.
>>
>> Pozdrawiam,
>> Adam A. Dobrowolski || pholat
>>
>> 2016-07-05 12:07 GMT+02:00 Dirk Baechle <tshortik at gmx.de>:
>>
>>> Hi pholat,
>>>
>>> this is something that you can simply try out on your side. Install a
>>> single source file to a target folder once, run SCons again and watch what
>>> happens. Have fun, and best regards
>>>
>>> Dirk
>>>
>>>
>>> Am 5. Juli 2016 11:35:55 MESZ, schrieb pholat <pholat at gmail.com>:
>>>
>>>> Hi all!
>>>>
>>>> I need to Zip(...) my build files into release + additional components,
>>>> components has to be signed before. If components are signed ( and this has
>>>> to be done via command ) I do not want to sign them again. Here is my
>>>> question, will:
>>>>
>>>> pseudo-code {
>>>> Install( component )
>>>> el =  Command( using command line process on component )
>>>> Install( el )
>>>> }
>>>>
>>>> copy component only when it's updated to the install dir in
>>>> Install(...), or Install(...) copies files never minding if these are
>>>> updated or not?
>>>>
>>>> Pozdrawiam,
>>>> Adam A. Dobrowolski || pholat
>>>>
>>>> ------------------------------
>>>>
>>>> Scons-users mailing list
>>>> Scons-users at scons.org
>>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>>
>>>>
>>> --
>>> Sent from my Android with K-9 Mail.
>>>
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160705/d84073fc/attachment.html>


More information about the Scons-users mailing list