diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-07-12 21:34:15 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-07-12 21:34:15 +0000 |
commit | 612070d30fb0efc0121d7a4a98858045aaa347d5 (patch) | |
tree | c4efe0c65d6e1a476d4aeeeeb333e91f08ae8893 | |
parent | ea6f2841f713b5351094a16e5213a8e672cd4209 (diff) |
first stab at complete build automation
svn path=/trunk/; revision=5369
-rwxr-xr-x | scripts/automated-builder.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/scripts/automated-builder.sh b/scripts/automated-builder.sh new file mode 100755 index 00000000..4f1f2bdd --- /dev/null +++ b/scripts/automated-builder.sh @@ -0,0 +1,29 @@ +#!/bin/sh + +# this script is the first attempt to have an automated updater and builder + +cvs_root_dir=`echo $0 | sed 's|\(.*\)/.*$|\1|'`/.. +SYSTEM=`uname -s` + +cd "${cvs_root_dir}/packages" +make unpatch_pd +../scripts/update-developer-layout.sh +make patch_pd + +BUILD_DIR=. +if [ "$SYSTEM" == "Linux" ]; then + BUILD_DIR=linux_make +fi + +if [ "$SYSTEM" == "Darwin" ]; then + BUILD_DIR=darwin_app +fi + +cd "$BUILD_DIR" +make distclean +make package_clean +rm -rf build +make install && make package + +#make test_locations +#make test_package |