From 0c3459d60a7238d4e2d964d14bb38650a47f678e Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Fri, 30 May 2003 13:57:24 +0000 Subject: [PATCH] Add missing imports. [SVN r18612] --- new/boostbook.jam | 12 ++++++++++++ v2/boostbook.jam | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/new/boostbook.jam b/new/boostbook.jam index 2c4cdf987..65c91c009 100644 --- a/new/boostbook.jam +++ b/new/boostbook.jam @@ -21,6 +21,7 @@ import scanner ; import make ; import type ; import modules path project ; +import xsltproc : xslt xslt-dir ; feature.feature xsl:param : : free ; feature.feature format : html onehtml man pdf ps docbook fo tests @@ -150,6 +151,9 @@ rule docbook-to-fo ( target : source : properties * ) rule xml-catalog-action ( target : property-set ? : catalog-entries * ) { + import boostbook ; + import print ; + action.__init__ $(target) : : generate-xml-catalog : $(property-set) ; rule actualize ( ) @@ -219,6 +223,10 @@ class xml-catalog-action : action ; rule boostbook-target-class ( name : project : sources * : requirements * : default-build * : catalog-entries * ) { + import feature ; + import virtual-target ; + import generators ; + basic-target.__init__ $(name) : $(project) : $(sources) : $(requirements) : $(default-build) ; self.catalog-entries = $(catalog-entries) ; @@ -314,6 +322,10 @@ rule boostbook ( target-name : sources * : requirements * : default-build * ) # case for XML documents, but we'll assume it's true for anything we encounter. rule xinclude-scanner ( includes * ) { + import virtual-target ; + import path ; + import scanner ; + scanner.__init__ ; rule pattern ( ) diff --git a/v2/boostbook.jam b/v2/boostbook.jam index 2c4cdf987..65c91c009 100644 --- a/v2/boostbook.jam +++ b/v2/boostbook.jam @@ -21,6 +21,7 @@ import scanner ; import make ; import type ; import modules path project ; +import xsltproc : xslt xslt-dir ; feature.feature xsl:param : : free ; feature.feature format : html onehtml man pdf ps docbook fo tests @@ -150,6 +151,9 @@ rule docbook-to-fo ( target : source : properties * ) rule xml-catalog-action ( target : property-set ? : catalog-entries * ) { + import boostbook ; + import print ; + action.__init__ $(target) : : generate-xml-catalog : $(property-set) ; rule actualize ( ) @@ -219,6 +223,10 @@ class xml-catalog-action : action ; rule boostbook-target-class ( name : project : sources * : requirements * : default-build * : catalog-entries * ) { + import feature ; + import virtual-target ; + import generators ; + basic-target.__init__ $(name) : $(project) : $(sources) : $(requirements) : $(default-build) ; self.catalog-entries = $(catalog-entries) ; @@ -314,6 +322,10 @@ rule boostbook ( target-name : sources * : requirements * : default-build * ) # case for XML documents, but we'll assume it's true for anything we encounter. rule xinclude-scanner ( includes * ) { + import virtual-target ; + import path ; + import scanner ; + scanner.__init__ ; rule pattern ( )