summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@fastmail.net>2011-09-08 12:48:05 +0200
committerGrégoire Duchêne <gduchene@fastmail.net>2011-09-08 16:32:49 +0200
commitf3cb1c742236923a7450f77ca1fd7607ec6703fe (patch)
tree6bb062f1bb4fdca7ebbba854844a40206266c8ac
parentc8465f94f429595784df20aaf5673e6c429047fd (diff)
Improved the Jamroot file.
It is now possible to set the installation location of mppdown by setting the DIST variable.
-rw-r--r--Jamroot6
1 files changed, 5 insertions, 1 deletions
diff --git a/Jamroot b/Jamroot
index cad807a..4c7508e 100644
--- a/Jamroot
+++ b/Jamroot
@@ -1,3 +1,7 @@
+import os ;
+
+local DIST = [ os.environ DIST ] ;
+
exe mppdown : [ glob-tree *.cpp ] : <linkflags>-lboost_program_options ;
-install dist : mppdown : <location>/usr/bin : <variant>release ;
+install dist : mppdown : <location>$(DIST)/usr/bin : <variant>release ;