diff options
author | Robert Jonsson <spamatica@gmail.com> | 2006-07-04 21:41:16 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2006-07-04 21:41:16 +0000 |
commit | 82d75cf0307422fd2f9b6041e3fb9199f308c409 (patch) | |
tree | 66838d6187a3898b458f5eeee56cc23427d8b57e | |
parent | dc4a5e6b2ca87fd1ac50245aff1defa35c80b754 (diff) |
proposed dist build script.
-rwxr-xr-x | makedist.sh | 21 |
1 files changed, 21 insertions, 0 deletions
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 |