summaryrefslogtreecommitdiff
path: root/make_src_targz.sh
diff options
context:
space:
mode:
authorChow Loong Jin <hyperair@gmail.com>2009-03-18 01:38:42 +0800
committerChow Loong Jin <hyperair@gmail.com>2009-03-18 01:38:42 +0800
commit88bf04fce19ef94891d54e11c3604ad31bd1d46e (patch)
tree34fa3ad4f9768f63d86273468fd60c84fa05f553 /make_src_targz.sh
parent3d717c7047ccf0181289325da69e555556d759b3 (diff)
Imported Upstream version 1.0.2785
Diffstat (limited to 'make_src_targz.sh')
-rwxr-xr-xmake_src_targz.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/make_src_targz.sh b/make_src_targz.sh
new file mode 100755
index 00000000..d2dc1421
--- /dev/null
+++ b/make_src_targz.sh
@@ -0,0 +1,21 @@
+# export the current directory
+
+################################################################################
+## This file is part of CodeLite IDE and is released
+## under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+################################################################################
+
+cur_rev=`svn info | grep Revision | awk '{print $2;}'`
+curdir=`pwd`
+rm -fr /tmp/codelite-${cur_rev}/
+
+svn export . /tmp/codelite-1.0.${cur_rev}/
+
+## set correct permissions
+
+cp ./LiteEditor/svninfo.cpp /tmp/codelite-1.0.${cur_rev}/LiteEditor/
+echo "Creating tar-ball"
+cd /tmp/
+tar cvfz ${curdir}/codelite-1.0.${cur_rev}.tar.gz codelite-1.0.${cur_rev}/*