Re: scons copyto /path/to/project

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> Sat, 5 Sep 2020 17:00:08 -0400
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CFXdQR3w3OvWXH6FvXYDRu8+L1VmR1ex=ABcRd11qP9Aw@mail.gmail.com>
--===============0380075457972809768==
Content-Type: multipart/alternative; boundary="000000000000de2d5e05ae9745e1"

--000000000000de2d5e05ae9745e1
Content-Type: text/plain; charset="UTF-8"

probably should be on the users mailing list.

Go take a look at the manpage.
I think env.Install() is what you want..

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
>

--000000000000de2d5e05ae9745e1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>probably should be on the users mailing list.</div><d=
iv><br></div><div>Go take a look at the manpage.</div><div>I think env.Inst=
all() is what you want..<br></div></div><br><div class=3D"gmail_quote"><div=
 dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 5, 2020 at 10:33 AM anatoly t=
echtonik &lt;<a href=3D"mailto:[email protected]">[email protected]</a>=
&gt; 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">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 SCons/ -&gt; /path/to/project/SCons/<br>
=C2=A0 =C2=A0 scripts/scons.py -&gt; /path/to/project/scons<br>
<br>
I haven&#39;t used SCons for a while and I don&#39;t remember<br>
how to create phony target &quot;copyto&quot; 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">[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>

--000000000000de2d5e05ae9745e1--

--===============0380075457972809768==
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

--===============0380075457972809768==--