Develop and Download Open Source Software

Browse CVS Repository

Annotation of /samurai-graph/samurai-graph/build.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (hide annotations) (download) (as text)
Thu Aug 18 15:26:57 2005 UTC (18 years, 7 months ago) by orrisroot
Branch: MAIN
CVS Tags: RELENG_2_BP, RELEASE_2_0_0, RELENG_3_BP, RELENG_1_BP, RELEASE_1_0_2, RELEASE_1_0_3, RELEASE_1_0_1, RELEASE_1_0_6, RELEASE_1_0_7, RELEASE_1_0_4, RELEASE_1_0_5, HEAD
Branch point for: RELENG_2, RELENG_3, RELENG_1
Changes since 1.6: +10 -2 lines
File MIME type: text/x-sh
added macosx target changes.

1 orrisroot 1.1 #!/bin/sh
2     PWD=`dirname $0`
3     cd $PWD
4    
5 orrisroot 1.7 ANT_TARGET=
6    
7     UNAME=`uname`
8     # error check
9     if [ $UNAME = "Darwin" ]; then
10     ANT_TARGET=macosx
11     fi
12    
13 orrisroot 1.1 case "$1" in
14     build)
15 orrisroot 1.5 (cd contrib ; ./build.sh build)
16 orrisroot 1.7 tools/ant.sh $ANT_TARGET
17 orrisroot 1.1 ;;
18     rebuild)
19 orrisroot 1.6 rm -f `find . -name .DS_Store`
20 orrisroot 1.5 (cd contrib ; ./build.sh rebuild)
21 orrisroot 1.7 tools/ant.sh $ANT_TARGET
22 orrisroot 1.1 ;;
23     clean)
24 orrisroot 1.6 rm -f `find . -name .DS_Store`
25 orrisroot 1.5 (cd contrib ; ./build.sh clean)
26     tools/ant.sh clean
27 orrisroot 1.1 ;;
28     *)
29 orrisroot 1.5 echo "Usage: ${0##*/}: { build | rebuild | clean }" 2>&1
30 orrisroot 1.1 exit 65
31     ;;
32     esac

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26