[Sablevm-developer] Another build script for review :-)
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2003-02-21 02:29:47
|
Hi! I thought that it could be cool to join the new sport that appears to be born on this list - creating new build scripts for SableVM. So I sat down and wrote a completly new script....... I encourage you to download it and try yourself, but to make it easier for you to get interested in it - here's the output of 'help' command: Usage: script operation [package|...] [option|...] Operations: help - this help screen unpack - unpack source(s) from current directory build - clean, configure and build specified packages install - install specified packages autoinstall - if needed: unpack and regenerate, then build and install uninstall - uninstall specified packages regenerate - do the aclocal, libtoolize, autoconf and auto* dance indent - indent sources in specified packages ctags - create ctags for specified packages Packages: sablevm - sablevm-$VERSION[.tar.gz] native - sablevm-native-library-$VERSION[.tar.gz] classes - sablevm-class-library-$VERSION[.tar.gz] all - all of the above Options: version=x.y.z - operate on specified version [default=auto] dest=/abc/xyz - install in specified directory [default=`pwd`/root/usr/local] debug - 'build' with debugging features enabled [default w/o] scriptdbg - output debug information while running this script cvsmode - we act a bit differently when using CVS repositories Some things don't work yet, like: autoinstall, uninstall, indent, ctags and cvsmode, but it shouldn't be hard to add them. The script also has some nice features, like remembering last options and packages on which the operation is to be done. So you can do: script unpack all version=1.0.6 dest=./root/usr/local debug and then you can simply do: script build script install and it will know what to do based of parameters given previously. I'd like to hear from you what you think and in case you were interested in using it - I am open for any suggestions and your help :-) Cheers, Grzegorz B. Prokopski -- Grzegorz B. Prokopski <ga...@de...> Debian http://www.debian.org/ |