[PD-cvs] scripts automated-builder.sh,NONE,1.1

Hans-Christoph Steiner eighthave at users.sourceforge.net
Wed Jul 12 23:34:17 CEST 2006


Update of /cvsroot/pure-data/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4340

Added Files:
	automated-builder.sh 
Log Message:
first stab at complete build automation

--- NEW FILE: automated-builder.sh ---
#!/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





More information about the Pd-cvs mailing list