Re: [Scons-dev] scons copyto /path/to/project

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CFzdoLHRzRkSLRRKr38hAzRE6Cod+EjT3g52_Ywjdd36A__27614.2146832839$1599496893$gmane$org@mail.gmail.com>
It's scons use of scons, not internal to scons.

On Mon, Sep 7, 2020 at 12:39 PM Bill Deegan <[email protected]>
wrote:

> As I said. Users mailing list.
>
>
> On Mon, Sep 7, 2020 at 11:11 AM anatoly techtonik <[email protected]>
> wrote:
>
>> But it will be be a patch for
>> https://github.com/SCons/scons/blob/master/SConstruct
>>
>> On Mon, Sep 7, 2020 at 6:02 PM Bill Deegan <[email protected]>
>> wrote:
>> >
>> > THis belongs in scons-user mailing list. Moving it there.
>> >
>> > On Mon, Sep 7, 2020 at 10:33 AM anatoly techtonik <[email protected]>
>> wrote:
>> >>
>> >> On Sun, Sep 6, 2020 at 7:12 PM Mats Wichmann <[email protected]> wrote:
>> >> > >
>> >> > > 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.
>> >> >
>> >> > Phony targets are Alias.
>> >> > Copying stuff usually involves some combination of Install and
>> Default.
>> >> >
>> >> > If that's what you are asking...
>> >>
>> >> Yup, thanks. I created a target that copies `scripts/scons.py` to
>> `scons`,
>> >> which is invoked as `scons copyto`:
>> >>
>> >>     Command('scons', [], Copy('$TARGET', 'scripts/scons.py'))
>> >>     Alias('copyto', 'scons')
>> >>
>> >> Now how to parse `/path/to/project` param to `copyto`?
>> >> --
>> >> 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-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.