Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-06-11 09:44:46


[2003-06-11] Vladimir Prus wrote:

>Rene Rivera wrote:
>
>> Index: print.jam
>
>> $(output-target).line ?= 0 ;
>> + DEPENDS $(output-target) : $(output-target:G=body) ;
>> + ALWAYS $(output-target:G=body) ;
>> + NOTFILE $(output-target:G=body) ;
>
>
>Rene, I'm afraid this commit of your breaks "custom_generator.py" test.
That
>test contains this code:
>
> rule resource-compile ( targets * : sources * : properties * )
> {
> print.output $(targets[1]) ;
> print.text "rc-object" ;
> }
>
>I don't know why, but now, any LOCATE setting on $targets[1] are ignored.
>What used to be generated to "bin/gcc/debug/rc.o" is now generated to
"rc.o",
>which breaks the test.

Hmm didn't think of doing LOCATE on the print output file :-(

>Was the change in semantic intentional and desirable?

Yes. It lets the HTML output order the output in two parts the body of the
text and the suffix of the text. It needs to print the "</body></html>" as
the suffix.

Don't know if there's another way to order the prints. So suggestions are
welcome.

For now doing a LOCATE on $(targets[1]:G=body) additionaly, should work.

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