diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-24 19:54:17 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2010-06-24 19:54:17 +0000 |
commit | ad6e30466775d5ebeafca2eb7a45c73482400c12 (patch) | |
tree | 649ebcce631bf8ec2bbcbca80e2787b65da19508 /Jamrules.jam | |
parent | 4a6ddccc2285ba97395e89bd10ab64e60e61c8d2 (diff) |
Added build dependency for imported sources
git-svn-id: http://pugixml.googlecode.com/svn/trunk@537 99668b35-9821-0410-8761-19e4c4f06640
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) ; |