diff options
Diffstat (limited to 'Jamrules.jam')
-rw-r--r-- | Jamrules.jam | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Jamrules.jam b/Jamrules.jam index 6d7d0e4..6dfba7d 100644 --- a/Jamrules.jam +++ b/Jamrules.jam @@ -599,11 +599,20 @@ rule Coverage TARGET : SOURCE Depends $(TARGET) : $(SOURCE) ; } +rule QuickbookImport SOURCE : IMPORT +{ + Includes $(SOURCE) : $(SOURCE:D)/$(IMPORT) ; +} + rule Documentation TARGET : SOURCE { # escape colon with %3A because colon is a path list separator local XSLDIR = [ Subst $(QUICKBOOK_PATH) : ":" : "%%%%3A" ] ; + # quickbook import scan + HDRRULE on $(SOURCE) = QuickbookImport ; + HDRSCAN on $(SOURCE) = "\\[import[ ]+([^]]*)\\]" ; + # quickbook -> boostbook local BOOSTBOOK = $(BUILD)/$(SOURCE:S=.bb.xml) ; |