diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2011-09-29 00:34:38 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2011-09-29 00:34:38 +0200 |
commit | f05d11a794291157f39778907c698c9008cd7edf (patch) | |
tree | 42649e5fa0d81d599589344f703af2a91d3e4762 /bin/Makefile.am | |
parent | a0d01155dc7b2774435721aa319625c9c42d9e59 (diff) | |
download | smokeping-f05d11a794291157f39778907c698c9008cd7edf.tar.gz smokeping-f05d11a794291157f39778907c698c9008cd7edf.tar.xz |
* silent build
* add perl and library path to the scripts on install
Diffstat (limited to 'bin/Makefile.am')
-rw-r--r-- | bin/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
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 |