forked from GitHub/gf-core
The configuration script takes significantly longer to run than the compilation of all the C code, which is a hint that is in need of a major simplification.
22 lines
323 B
Bash
22 lines
323 B
Bash
|
|
# Executable version of INSTALL
|
|
|
|
command="$1"
|
|
shift
|
|
|
|
case "$command" in
|
|
configure)
|
|
[ `uname` != Darwin ] || glibtoolize
|
|
autoreconf -i
|
|
./configure "$@"
|
|
;;
|
|
build)
|
|
make -j "$@"
|
|
;;
|
|
copy|install)
|
|
make install "$@"
|
|
;;
|
|
*)
|
|
echo "Usage: setup.sh [configure|build|copy|install] ..."
|
|
esac
|