Boost logo

Boost-Build :

From: Robert Kawulak (kawulak_at_[hidden])
Date: 2008-05-21 15:17:18


> From: Vladimir Prus
> Robert Kawulak wrote:
>
> > Hi,
> >
> > I have the following problem: I build documentation written
> in Quickbook, but I
> > want to replace one of the generated files with a custom
> version. In some way I
> > have to let bjam know I want to overwrite the file (or
> delete the generated file
> > so it is copied via install command). Could anybody give me
> a clue how to do
> > this? Thanks in advance!
> >
> > This is part of my Jamfile.v2:
> >
> > boostbook constrained_value-doc : src/constrained_value.qbk ;
> > install html/constrained_value : src/reference.html :
> > <dependency>constrained_value-doc ; # doesn't work
>
> Doesn't work in what way? In general, there's no way to do
> what you want, but in
> the specific case of boostbook, we don't track individual
> files that are created,
> so things should be ok.

Actually, now it works, which makes me surprised. Earlier I was doing this with
previous version of Boost and the install command wouldn't copy the file if a
newer version of the file existed.

Thanks for answer,
Robert


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