Re: scons copyto /path/to/project
Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> Mon, 7 Sep 2020 11:07:33 -0400
| Newsgroups | gmane.comp.programming.tools.scons.devel |
|---|---|
| Message-ID | <CAEyG4CHKAheJYZnRs_K6tw2o+02j=omyStkYF3m1-9V9uLU0qQ@mail.gmail.com> |
--===============8368771293388942723== Content-Type: multipart/alternative; boundary="000000000000a0029d05aeba946e" --000000000000a0029d05aeba946e Content-Type: text/plain; charset="UTF-8" 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? 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 > --000000000000a0029d05aeba946e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>yes. it belongs in the users mailing list.</div><div>= It's about using scons.</div><div>(whether that's about installing = scons it doesn't matter)</div><div><br></div><div>So you're proposi= ng to add this logic into SCons' own SConstruct?<br></div></div><br><di= v class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Sep 7= , 2020 at 11:01 AM anatoly techtonik <<a href=3D"mailto:techtonik@gmail.= com">[email protected]</a>> wrote:<br></div><blockquote class=3D"gmail= _quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204= ,204);padding-left:1ex">On Sun, Sep 6, 2020 at 12:23 AM Bill Deegan <<a = href=3D"mailto:bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org" target=3D"_blank">bill@baddogcons= ulting.com</a>> wrote:<br> ><br> > probably should be on the users mailing list.<br> <br> Not really. I want to add a feature to copy scons-local to another<br> project directory without zipping and unzipping it.<br> <br> > Go take a look at the manpage.<br> > I think env.Install() is what you want..<br> <br> <a href=3D"https://scons.org/doc/4.0.1/HTML/scons-user/ch11.html" rel=3D"no= referrer" target=3D"_blank">https://scons.org/doc/4.0.1/HTML/scons-user/ch1= 1.html</a><br> Looks like installation is just a copy. Or is there something I missed?<br> <br> > On Sat, Sep 5, 2020 at 10:33 AM anatoly techtonik <<a href=3D"mailt= o:[email protected]" target=3D"_blank">[email protected]</a>> wrote:= <br> >><br> >> Hi.<br> >><br> >> Is it possible to create a build command that will copy<br> >> SCons local to the target directory?<br> >><br> >>=C2=A0 =C2=A0 =C2=A0SCons/ -> /path/to/project/SCons/<br> >>=C2=A0 =C2=A0 =C2=A0scripts/scons.py -> /path/to/project/scons<b= r> >><br> >> I haven't used SCons for a while and I don't remember<br> >> how to create phony target "copyto" and handle path<br> >> parameter to it.<br> >> --<br> >> anatoly t.<br> >> _______________________________________________<br> >> Scons-dev mailing list<br> >> <a href=3D"mailto:[email protected]" target=3D"_blank">Scons-dev= @scons.org</a><br> >> <a href=3D"https://pairlist2.pair.net/mailman/listinfo/scons-dev" = rel=3D"noreferrer" target=3D"_blank">https://pairlist2.pair.net/mailman/lis= tinfo/scons-dev</a><br> ><br> > _______________________________________________<br> > Scons-dev mailing list<br> > <a href=3D"mailto:[email protected]" target=3D"_blank">Scons-dev@sco= ns.org</a><br> > <a href=3D"https://pairlist2.pair.net/mailman/listinfo/scons-dev" rel= =3D"noreferrer" target=3D"_blank">https://pairlist2.pair.net/mailman/listin= fo/scons-dev</a><br> <br> <br> <br> -- <br> anatoly t.<br> _______________________________________________<br> Scons-dev mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= g</a><br> <a href=3D"https://pairlist2.pair.net/mailman/listinfo/scons-dev" rel=3D"no= referrer" target=3D"_blank">https://pairlist2.pair.net/mailman/listinfo/sco= ns-dev</a><br> </blockquote></div> --000000000000a0029d05aeba946e-- --===============8368771293388942723== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev --===============8368771293388942723==--