[Scons-users] How can I manipulate $SOURCE and $TARGET
Bill Deegan
bill at baddogconsulting.com
Thu Feb 13 00:55:02 EST 2014
Can you provide a sample SConstruct to show what you're doing, and what
you're getting?
That will make it easier to help you get what you want..
Thanks,
Bill
On Wed, Feb 12, 2014 at 4:41 PM, Russell, J.J. <russell at slac.stanford.edu>wrote:
> Using one of LINKCOMSTR or its variants to control the output of a build,
> I would like to strip some of the leading directories from the $SOURCE and
> $TARGET strings. For example, if $TARGET is
>
> /a/really/long/directory/path/to/package/file.exe
>
> I would like to print just
>
> package/file.exe
>
> and ignore the boilerplate root directories as just adding noise to the
> output.
>
> I am a novice at this, so hopefully I just missed the obvious.
>
> JJRussell
>
>
>
> Dr. James J. Russell
> Stanford Linear Accelerator Center
> 650-926-2583
> russell at slac.stanford.edu
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140212/9b117267/attachment.htm
More information about the Scons-users
mailing list