Develop and Download Open Source Software

Browse CVS Repository

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

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


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

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