Boost logo

Boost-Build :

Subject: Re: [Boost-build] force install before building sub-dir
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2011-04-19 06:56:10


Andrej van der Zee wrote:

> For libraries that works for me indeed, but for a dependency on an
> install-command I cannot get this to work. The is the install command
> is:
>
> install $(INSTALL_PATH)/etc : pcap-http-cfg.xsd ;
>
> Here pcap-http-cfg.xsd is just a file that is copied to the install
directory.
>
> So what is the "name-of-metatarget-in-that-dir" I can refer this file
> to in the dependency?
>
> Thank you,
> Andrej

In that case, try this:

that-dir/Jamfile:
install $(INSTALL_PATH)/etc : pcap-http-cfg.xsd ;
alias install-pcap-http-cfg : $(INSTALL_PATH)/etc ;

this-dir/Jamfile:
obj something : thing.cpp : <dependency>that-dir//install-pcap-http-cfg ;

HTH,
Gevorg


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