Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to create empty directory on install
From: M Levin (svarneticist_at_[hidden])
Date: 2010-10-18 18:34:45


Евгений Шубин <shubin_evgeniy <at> mail.ru> writes:

> common.MkDir $(INSTALL_PATH)/run ;
> common.MkDir $(INSTALL_PATH)/log ;

Quite confusingly, these commands do not create directories and do not produce
errors.

This command works as expected
make $(INSTALL_PATH)/run : : @common.mkdir ;

It works even without statement
import common ;

This took me a very long time to figure out even though I have been using
boost.build for several years.

Also, the example from
http://www.boost.org/boost-build2/doc/html/bbv2/builtins/raw.html

notfile echo_something : @echo ;
actions echo
{
    echo "something"
}

produces an error. Should it be NOTFILE ?

Unfortunately boost.build documentation is still counterintuitive and
incomplete. It would help to include a lot of examples.


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