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
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
notfile echo_something : @echo ;
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