summaryrefslogtreecommitdiff
path: root/jam-files
diff options
context:
space:
mode:
authorKenneth Heafield <kheafiel@cluster01.lti.ece.cmu.local>2012-05-27 15:05:56 -0400
committerKenneth Heafield <kheafiel@cluster01.lti.ece.cmu.local>2012-05-27 15:05:56 -0400
commit6fd22244aaa33cd5cbc4d9bd1003e6eef7b6e418 (patch)
treef80a864a365b7c8d97396851e18638a1ce55537f /jam-files
parentff497ae4fa2e96f3b0970647029082764b890acd (diff)
Add example installing perl script
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) ;
}