Re: scons copyto /path/to/project

anatoly techtonik <[email protected]> Mon, 7 Sep 2020 20:03:37 +0300
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAPkN8xLSKD+m05t07kt5eQLE27ipiy_q3PrMgy1EUki8m=ArUw@mail.gmail.com>
On Mon, Sep 7, 2020 at 6:13 PM Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> wrote:
>
> yes. it belongs in the users mailing list.
> It's about using scons.
> (whether that's about installing scons it doesn't matter)
>
> So you're proposing to add this logic into SCons' own SConstruct?

Exactly. PR message asked to discuss it first.

> On Mon, Sep 7, 2020 at 11:01 AM anatoly techtonik <[email protected]> wrote:
>>
>> On Sun, Sep 6, 2020 at 12:23 AM Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> wrote:
>> >
>> > probably should be on the users mailing list.
>>
>> Not really. I want to add a feature to copy scons-local to another
>> project directory without zipping and unzipping it.
>>
>> > Go take a look at the manpage.
>> > I think env.Install() is what you want..
>>
>> https://scons.org/doc/4.0.1/HTML/scons-user/ch11.html
>> Looks like installation is just a copy. Or is there something I missed?
>>
>> > On Sat, Sep 5, 2020 at 10:33 AM anatoly techtonik <[email protected]> wrote:
>> >>
>> >> Hi.
>> >>
>> >> Is it possible to create a build command that will copy
>> >> SCons local to the target directory?
>> >>
>> >>     SCons/ -> /path/to/project/SCons/
>> >>     scripts/scons.py -> /path/to/project/scons
>> >>
>> >> I haven't used SCons for a while and I don't remember
>> >> how to create phony target "copyto" and handle path
>> >> parameter to it.
>> >> --
>> >> anatoly t.
>> >> _______________________________________________
>> >> Scons-dev mailing list
>> >> [email protected]
>> >> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >
>> > _______________________________________________
>> > Scons-dev mailing list
>> > [email protected]
>> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>>
>> --
>> anatoly t.
>> _______________________________________________
>> Scons-dev mailing list
>> [email protected]
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
> _______________________________________________
> Scons-dev mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/scons-dev



-- 
anatoly t.