diff options
author | Andraž Levstik | 2007-01-12 15:07:15 +0100 |
---|---|---|
committer | Andraž Levstik | 2007-01-12 15:07:15 +0100 |
commit | dc2d320fb0b8432d19c58fc1b20b1298817ab380 (patch) | |
tree | c79db6c4999d5e1f0957c197ee3ef211975eead6 /FUNCTIONS | |
parent | a6ee3bf1cf6190c5e1e23f591ee45594e91008c8 (diff) |
FUNCTIONS added a waf_build and waf_install
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-x | FUNCTIONS | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -480,3 +480,19 @@ if check_if_modified "$1"; then fi } +# Functions for default_build and default_install for waf based build systems +# please use this one instead of maunaly calling waf when possible +# Disabled caching as this has GREAT potential for borkage +# and waf is fast without it as well + +function waf_build(){ +./waf configure \ + --nocache \ + --prefix=${INSTALL_ROOT}/usr \ + $OPTS && +./waf --verbose +} + +function waf_install(){ +./waf install +} |