Boost logo

Boost-Build :

Subject: [Boost-build] How to create empty directory on install
From: å×ÇÅÎÉÊ ûÕÂÉÎ (shubin_evgeniy_at_[hidden])
Date: 2010-03-03 04:36:46


I created Jamroot with this content :

=============================================================

import common ;

project
    : requirements <include>include/common <include>/usr/local/include
    ;

PREFIX = [ modules.peek : PREFIX ] ;
if ! $(PREFIX) { PREFIX = /usr/local ; }

constant INSTALL_PATH : $(PREFIX) ;

lib boost_regex : : <name>boost_regex <search>/usr/local/lib ;
lib boost_filesystem : : <name>boost_filesystem <search>/usr/local/lib ;
lib mysqlclient_r : : <name>mysqlclient_r <search>/usr/local/lib <search>/usr/local/lib/mysql ;
lib curl : : <name>curl <search>/usr/local/lib ;
lib iconv : : <name>iconv <search>/usr/local/lib ;
lib xmlrpc : : <name>xmlrpc <search>/usr/local/lib ;
lib xmlrpc_client : : <name>xmlrpc_client <search>/usr/local/lib ;
lib xmlrpc_client++ : : <name>xmlrpc_client++ <search>/usr/local/lib ;
lib xmlrpc_cpp : : <name>xmlrpc_cpp <search>/usr/local/lib ;
lib xmlrpc_server : : <name>xmlrpc_server <search>/usr/local/lib ;
lib xmlrpc_util : : <name>xmlrpc_util <search>/usr/local/lib ;
lib xmlrpc++ : : <name>xmlrpc++ <search>/usr/local/lib ;
lib xmlrpc_server_abyss : : <name>xmlrpc_server_abyss <search>/usr/local/lib ;
lib xmlrpc_xmlparse : : <name>xmlrpc_xmlparse <search>/usr/local/lib ;
lib xmlrpc_xmltok : : <name>xmlrpc_xmltok <search>/usr/local/lib ;
lib xmlrpc_server++ : : <name>xmlrpc_server++ <search>/usr/local/lib ;
lib xmlrpc_server_abyss++ : : <name>xmlrpc_server_abyss++ <search>/usr/local/lib ;
lib Magick++ : : <name>Magick++ ;
lib MagickWand : : <name>MagickWand ;
lib MagickCore : : <name>MagickCore ;
lib xml2 : : <name>xml2 ;
lib pcrecpp : : <name>pcrecpp ;

local PROJECTS = src/surfer_master src/surfer_slave src/harvester_master src/harvester_slave src/doc_manager src/index_builder src/search_retriever doc ;

alias project_list : $(PROJECTS) ;
build-project project_list ;

alias install : $(PROJECTS)//install ;

DEPENDS install : $(INSTALL_PATH)/run $(INSTALL_PATH)/log ;
common.MkDir $(INSTALL_PATH)/run ;
common.MkDir $(INSTALL_PATH)/log ;

explicit install ;

===========================================================================

Empty directories $(INSTALL_PATH)/run $(INSTALL_PATH)/log are not created, when I run bjam install.
Please, help me to solve this problem.


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