source: gs2-extensions/music-ir/trunk/CASCADE-MAKE.sh@ 22246

Last change on this file since 22246 was 22246, checked in by davidb, 14 years ago

Top-level cascade-make file for jaudio

  • Property svn:executable set to *
File size: 806 bytes
Line 
1#!/bin/bash
2
3source cascade-make/lib/cascade-lib.bash GEXT_MUSICIR . $*
4
5if [ -z "$JAVA_HOME" ] ; then
6 echo "Testing for Java compiler ..."
7 javac -version
8 if [ $? != "0" ] ; then
9 echo "Failed to find 'javac'"
10 exit -1
11 fi
12fi
13
14if [ ! -e $GEXT_MUSICIR_INSTALLED ] ; then
15 echo "Creating $GEXT_MUSICIR_INSTALLED for installed files"
16 mkdir $GEXT_MUSICIR_INSTALLED
17fi
18
19if [ ! -e "$GEXT_MUSICIR_LIBJAVA" ] ; then
20 echo "Creating $GEXT_MUSICIR_LIBJAVA for Java lib and jar files"
21 mkdir -p "$GEXT_MUSICIR_LIBJAVA"
22fi
23
24
25dirlist="build-srcpack"
26
27for d in $dirlist ; do
28 echo "Running $d/CASCADE-MAKE.sh $*"
29
30 (cd $d ; ./CASCADE-MAKE.sh $*)
31
32 if [ $? != 0 ] ; then
33 echo "Error encountered running $d/CASCADE-MAKE.sh"
34 exit 1
35 fi
36done
37
38
39if [ $install = "1" ] ; then
40 cat README.txt
41fi
Note: See TracBrowser for help on using the repository browser.