summaryrefslogtreecommitdiff
path: root/Jamrules.jam
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-27 11:58:24 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-27 11:58:24 +0000
commitee2a039d45b627db0f33dbf49cd09c85ab9fa620 (patch)
treeb28ba5ecca93bde6db6b3256b85c740af5e1db33 /Jamrules.jam
parentf70545253701a4b9e820bc638effa31f7941dd0c (diff)
Added samples building target
git-svn-id: http://pugixml.googlecode.com/svn/trunk@542 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'Jamrules.jam')
-rw-r--r--Jamrules.jam12
1 files changed, 12 insertions, 0 deletions
diff --git a/Jamrules.jam b/Jamrules.jam
index 6dfba7d..1efd90c 100644
--- a/Jamrules.jam
+++ b/Jamrules.jam
@@ -441,6 +441,12 @@ if ( $(UNIX) )
$(>)
}
+ actions RunSampleAction
+ {
+ cd docs/samples
+ ../../$(>)
+ }
+
actions quietly ignore MakeDirAction
{
mkdir -p $(<)
@@ -458,6 +464,12 @@ else
$(>:\\)
}
+ actions RunSampleAction
+ {
+ cd docs\samples
+ ..\..\$(>:\\)
+ }
+
actions quietly ignore MakeDirAction
{
mkdir $(<:\\) >nul 2>&1