From 82d75cf0307422fd2f9b6041e3fb9199f308c409 Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Tue, 4 Jul 2006 21:41:16 +0000 Subject: proposed dist build script. --- makedist.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 makedist.sh (limited to 'makedist.sh') diff --git a/makedist.sh b/makedist.sh new file mode 100755 index 00000000..f277f35b --- /dev/null +++ b/makedist.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +echo "" +echo "This script creates a distribution from a subversion checkout of MusE source tree." +echo "" +echo "The script simply tars together the entire source dir after removing some redundant" +echo "files, like .svn. This means that this script should ONLY be executed on a clean" +echo "checkout which does not contain any build files or other intermediate junk." +echo "" +echo "Press ENTER to continue, otherwise Ctrl-C." +echo "" + + +TARGET=$(grep "SET(MusE_INSTALL_NAME" muse/CMakeLists.txt | cut -d\" -f 2) +echo "Distribution name: $TARGET" +read +rm -rf $TARGET +cp -r muse $TARGET + +find $TARGET -name .svn -exec rm -rf {} \; +tar cvfz $TARGET.tar.gz $TARGET -- cgit v1.2.3