From f868ff9f8a9e183d88d077660dda7bb7864b042d Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 18 Mar 2003 18:01:50 +0000 Subject: [PATCH] Remove LOCATE/common.MkDir hackery and use set-path (thanks Vladimir) [SVN r17976] --- boostbook.jam | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/boostbook.jam b/boostbook.jam index 4b84a66e9..cb0e77864 100644 --- a/boostbook.jam +++ b/boostbook.jam @@ -56,12 +56,6 @@ rule xslt-dir ( target : source stylesheet : properties * : dirname ) flags += --stringparam $(namevalue[1]) $(namevalue[2]) ; } - # Make sure we create this path. - # TBD: this is NOT correct, but it works for now... - LOCATE on $(target) = $(dirname) ; - DEPENDS $(target) : $(dirname) ; - common.MkDir $(dirname) ; - STYLESHEET on $(target) = $(stylesheet) ; FLAGS on $(target) = $(flags) ; DIRECTORY on $(target) = $(dirname) ; @@ -189,6 +183,7 @@ rule boostbook-target-class ( name : project : sources * : requirements * : DOCBOOK : $(property-set) : $(i) ] ; local target = [ generators.construct $(self.project) $(manifest) : $(type) : $(property-set) : $(base-target) ] ; + $(target).set-path $(format) ; targets += $(target) ; } } @@ -267,4 +262,5 @@ rule xinclude-scanner ( includes * ) class xinclude-scanner : scanner ; scanner.register xinclude-scanner ; -type.set-scanner XML : xinclude-scanner ; \ No newline at end of file +type.set-scanner XML : xinclude-scanner ; +