From 6c3912d888580a41f0f98211507feaa1c92d422e Mon Sep 17 00:00:00 2001 From: Kenneth Heafield Date: Sun, 27 May 2012 15:05:56 -0400 Subject: Add example installing perl script --- jam-files/sanity.jam | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'jam-files') 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) : $(bindir) on EXE shared:$(libdir) ; install prefix-lib : $(deps) : $(libdir) on LIB shared:$(libdir) ; } -- cgit v1.2.3