diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 |
commit | e40fc849149dd97c248866a4a1d026dda5e57b62 (patch) | |
tree | b12b358f3b3a0608001d30403358f8443118ec5f /attic/makedist.sh | |
parent | 1bd4f2e8d9745cabb667b043171cad22c8577768 (diff) |
clean3
Diffstat (limited to 'attic/makedist.sh')
-rwxr-xr-x | attic/makedist.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/attic/makedist.sh b/attic/makedist.sh new file mode 100755 index 00000000..f277f35b --- /dev/null +++ b/attic/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 |