release-1.10
Last change
on this file since c53f5e8 was
a223b6b,
checked in by Anders Kaseorg <andersk@mit.edu>, 11 years ago
|
Build bin/{barnowl,tester} instead of {barnowl,tester}.bin
This lets us get rid of some silly install and uninstall hooks.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
-
Property mode set to
100644
|
File size:
412 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # This is a wrapper script to point BARNOWL_DATA_DIR at the source dir |
---|
3 | # if we're running from a build tree. bin/barnowl is the actual built |
---|
4 | # binary. |
---|
5 | |
---|
6 | EXE="@abs_builddir@/bin/$(basename "$0")" |
---|
7 | |
---|
8 | if test ! -x "$EXE"; then |
---|
9 | echo "Cannot find $EXE" >&2 |
---|
10 | exit 1 |
---|
11 | fi |
---|
12 | |
---|
13 | BARNOWL_DATA_DIR="@abs_srcdir@/perl" |
---|
14 | BARNOWL_BIN_DIR="@abs_builddir@" |
---|
15 | export BARNOWL_DATA_DIR |
---|
16 | export BARNOWL_BIN_DIR |
---|
17 | exec "$EXE" "$@" |
---|
Note: See
TracBrowser
for help on using the repository browser.