You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
418 B
18 lines
418 B
8 years ago
|
compile_waf() {
|
||
|
local binary='waf'
|
||
|
|
||
|
local OPTIND=1
|
||
|
local opt
|
||
|
while getopts "b:" opt; do case "$opt" in
|
||
|
b) local binary="$OPTARG" ;;
|
||
|
esac; done
|
||
|
shift $((OPTIND-1))
|
||
|
|
||
|
$binary configure build install \
|
||
|
--prefix="/$dir_prefix" \
|
||
|
--bindir="/$dir_prefix/$dir_bindir" \
|
||
|
--libdir="/$dir_prefix/$dir_libdir" \
|
||
|
--destdir="$dir_install" \
|
||
|
$WAFFLAGS $@
|
||
|
}
|