Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Haddow <barry.haddow@gmail.com>2012-06-01 01:58:39 +0400
committerBarry Haddow <barry.haddow@gmail.com>2012-06-01 01:58:39 +0400
commitf716673f6765b2ce5c04b716e21cf233b4e17c8f (patch)
tree7baaa80c7ef127b51c57bf76d27804b490dde436 /jam-files
parent713ff8c5e25a86606c75c2a162cac76b180da1a0 (diff)
Allow combination of --prefix and --git
Diffstat (limited to 'jam-files')
-rw-r--r--jam-files/sanity.jam2
1 files changed, 2 insertions, 0 deletions
diff --git a/jam-files/sanity.jam b/jam-files/sanity.jam
index 76763f98d..35caf4602 100644
--- a/jam-files/sanity.jam
+++ b/jam-files/sanity.jam
@@ -158,9 +158,11 @@ if [ option.get "git" : : "yes" ] {
prefix = [ option.get "prefix" ] ;
if $(prefix) {
prefix = [ path.root $(prefix) [ path.pwd ] ] ;
+ prefix = $(prefix)$(GITTAG) ;
} else {
prefix = $(TOP)$(GITTAG) ;
}
+
rule install-bin-libs ( deps * ) {
local bindir = [ option.get "bindir" : $(prefix)/bin ] ;
local libdir = [ option.get "libdir" : $(prefix)/lib ] ;