From f05d11a794291157f39778907c698c9008cd7edf Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 28 Sep 2011 22:34:38 +0000 Subject: * silent build * add perl and library path to the scripts on install --- bin/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/Makefile.am') diff --git a/bin/Makefile.am b/bin/Makefile.am index 81a47df..01030c8 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -16,3 +16,8 @@ dist_bin_SCRIPTS = smokeinfo smokeping smokeping_cgi tSmoke + +install-exec-hook: + [ x$PERL5LIB != x ] && cd "$(bindir)" && $(PERL) -i -p -e 's{^#!.*}{#!$(PERL)}; s{.*# PERL5LIB}{use lib qw($(PERL5LIB)); # PERL5LIB}' smokeinfo smokeping smokeping_cgi tSmoke + +# EOF -- cgit v1.2.3-24-g4f1b