forked from GitHub/gf-core
src/runtime/c/setup.sh: executable version of INSTALL, used from debian/rules
This commit is contained in:
21
src/runtime/c/setup.sh
Normal file
21
src/runtime/c/setup.sh
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
# Executable version of INSTALL
|
||||||
|
|
||||||
|
command="$1"
|
||||||
|
shift
|
||||||
|
|
||||||
|
case "$command" in
|
||||||
|
configure)
|
||||||
|
[ `uname` != Darwin ] || glibtoolize
|
||||||
|
autoreconf -i
|
||||||
|
./configure "$@"
|
||||||
|
;;
|
||||||
|
build)
|
||||||
|
make "$@"
|
||||||
|
;;
|
||||||
|
copy|install)
|
||||||
|
make install "$@"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: setup.sh [configure|build|copy|install] ..."
|
||||||
|
esac
|
||||||
Reference in New Issue
Block a user