|
Boost-Build : |
From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-02-26 01:24:19
[2003-02-26] Vladimir Prus wrote:
>Rene Rivera wrote:
>> Update of /cvsroot/boost/boost/tools/build/new
>> In directory sc8-pr-cvs1:/tmp/cvs-serv18831
>>
>> Modified Files:
>> path.jam
>> Log Message:
>> Add relative-to to calculate relative paths between dirs.
>>
>> Index: path.jam
>
>> +# Returns the minimal path to path2 that is relative path1.
>> +#
>> +rule relative-to ( path1 path2 )
>
>Hi Rene,
>
>I wonder what is the difference between 'relative-to' and 'relative'. You
>certainly seen 'relative', since it's directly above your addition and
there
>must be difference, but the comment does not communicate it.
It will be obvious when I commit the modifier+symlink changes in a few
minutes... But here's the basic use that the other relative doesn't allow:
relative-to bin/gcc/release bin/gcc/release ==> .
relative-to bin/gcc/release subdir ==> ../bin/gcc/release
I need it to make symlinks that don't have the pathalogical
"../../../bin/gcc/release" path in them.
-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk