summaryrefslogtreecommitdiff
path: root/jam-files
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-05-27 15:34:57 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-05-27 15:34:57 -0400
commitb15fdf3b770eae3052a43ab3d19b1ff5ea9eca76 (patch)
tree6a2e84d4294133d11076adbda8a4c3de1ea8a8b7 /jam-files
parentbfa5c4866101161c5fb20220d335c80ed075ae0a (diff)
parent6c3912d888580a41f0f98211507feaa1c92d422e (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'jam-files')
-rw-r--r--jam-files/sanity.jam5
1 files changed, 3 insertions, 2 deletions
diff --git a/jam-files/sanity.jam b/jam-files/sanity.jam
index 4e0432f9..957f4f43 100644
--- a/jam-files/sanity.jam
+++ b/jam-files/sanity.jam
@@ -182,9 +182,10 @@ if $(prefix) {
} else {
prefix = $(TOP)/dist$(GITTAG) ;
}
+
+bindir = [ option.get "bindir" : $(prefix)/bin ] ;
+libdir = [ option.get "libdir" : $(prefix)/lib ] ;
rule install-bin-libs ( deps * ) {
- local bindir = [ option.get "bindir" : $(prefix)/bin ] ;
- local libdir = [ option.get "libdir" : $(prefix)/lib ] ;
install prefix-bin : $(deps) : <location>$(bindir) <install-dependencies>on <install-type>EXE <link>shared:<dll-path>$(libdir) ;
install prefix-lib : $(deps) : <location>$(libdir) <install-dependencies>on <install-type>LIB <link>shared:<dll-path>$(libdir) ;
}