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

Mats Wichmann mats at wichmann.us
Sun Sep 6 12:12:01 EDT 2020


On 9/5/20 8:33 AM, anatoly techtonik 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.

Phony targets are Alias.
Copying stuff usually involves some combination of Install and Default.

If that's what you are asking...



More information about the Scons-dev mailing list