aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tools/src-release.sh
diff options
context:
space:
mode:
authordan miller2007-10-21 08:36:32 +0000
committerdan miller2007-10-21 08:36:32 +0000
commit2f8d7092bc2c9609fa98d6888106b96f38b22828 (patch)
treeda6c37579258cc965b52a75aee6135fe44237698 /libraries/ode-0.9/tools/src-release.sh
parent* Committing new PolicyManager based on an ACL system. (diff)
downloadopensim-SC_OLD-2f8d7092bc2c9609fa98d6888106b96f38b22828.zip
opensim-SC_OLD-2f8d7092bc2c9609fa98d6888106b96f38b22828.tar.gz
opensim-SC_OLD-2f8d7092bc2c9609fa98d6888106b96f38b22828.tar.bz2
opensim-SC_OLD-2f8d7092bc2c9609fa98d6888106b96f38b22828.tar.xz
libraries moved to opensim-libs, a new repository
Diffstat (limited to '')
-rw-r--r--libraries/ode-0.9/tools/src-release.sh104
1 files changed, 0 insertions, 104 deletions
diff --git a/libraries/ode-0.9/tools/src-release.sh b/libraries/ode-0.9/tools/src-release.sh
deleted file mode 100644
index 011a96b..0000000
--- a/libraries/ode-0.9/tools/src-release.sh
+++ /dev/null
@@ -1,104 +0,0 @@
1#!/bin/sh
2###################################################################
3# ODE Source Code Release Script
4# Originally written by Jason Perkins (starkos@gmail.com)
5#
6# Prerequisites:
7# svn, zip
8###################################################################
9
10# Check arguments
11if [ $# -ne 2 ]; then
12 echo 1>&2 "Usage: $0 version_number branch_name"
13 exit 1
14fi
15
16
17###################################################################
18# Pre-build checklist
19###################################################################
20
21echo ""
22echo "STARTING PREBUILD CHECKLIST, PRESS ^^C TO ABORT."
23echo ""
24echo "Is the version number '$1' correct?"
25read line
26echo ""
27echo "Have you created a release branch named '$2' in SVN?"
28read line
29echo ""
30echo "Have you run all of the tests?"
31read line
32echo ""
33echo "Is the Changelog up to date?"
34read line
35echo ""
36echo "Okay, ready to build the source code package for version $1!"
37read line
38
39
40###################################################################
41# Retrieve source code
42###################################################################
43
44echo ""
45echo "RETRIEVING SOURCE CODE FROM REPOSITORY..."
46echo ""
47f
48svn export https://opende.svn.sourceforge.net/svnroot/opende/branches/$2 ode-$1
49
50
51###################################################################
52# Prepare source code
53###################################################################
54
55echo ""
56echo "PREPARING SOURCE TREE..."
57echo ""
58
59cd ode-$1
60chmod 755 autogen.sh
61./autogen.sh
62rm -rf autom4te.cache
63
64cp build/config-default.h include/ode/config.h
65
66cd ode/doc
67doxygen
68
69cd ../../..
70
71
72###################################################################
73# Package source code
74###################################################################
75
76echo ""
77echo "PACKAGING SOURCE CODE..."
78echo ""
79
80zip -r9 ode-src-$1.zip ode-$1/*
81
82
83###################################################################
84# Clean up
85###################################################################
86
87echo ""
88echo "CLEANING UP..."
89echo ""
90
91rm -rf ode-$1
92
93
94#####################################################################
95# Send the files to SourceForge
96#####################################################################
97
98echo ""
99echo "Upload packages to SourceForge?"
100read line
101if [ $line = "y" ]; then
102 echo "Uploading to SourceForge..."
103 ftp -n upload.sourceforge.net < ftp_src_script
104fi