From d4c4a06b5ac5d4c9dd29afbfbaeb1ad0998e440f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 28 Jan 2010 02:36:18 -0500 Subject: [PATCH] Removed makedist.sh from the stable-2.0 branch ("hg archive" is the new thing.) --- extras/makedist.sh | 54 ---------------------------------------------- 1 file changed, 54 deletions(-) delete mode 100755 extras/makedist.sh diff --git a/extras/makedist.sh b/extras/makedist.sh deleted file mode 100755 index 3f62f4d0..00000000 --- a/extras/makedist.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -# This shell script is roughly equivalent to what "make dist" did in the -# autotools build system and is called from a custom CMake target. - -# !!! FIXME: This code sort of sucks. Consider using CPack instead... - -if [ ! -f ./CMakeLists.txt ]; then - echo "you are in the wrong place." - exit 1 -fi - -if [ -z "$1" ]; then - echo "Wrong arguments." - exit 2 -fi - -set -e - -VERSION="$1" -BASENAME="physfs-$VERSION" -TARBALL="$BASENAME.tar.gz" -TMPCPDIR="../9sdkujy75jv932-physfstmp-$VERSION" -CPDIR="$TMPCPDIR/$BASENAME" - -echo "Packing PhysicsFS $VERSION source tarball..." -echo " + Setting up scratch dir..." -rm -rf $TMPCPDIR -mkdir $TMPCPDIR -mkdir $CPDIR - -echo " + Making copy of source tree in scratch dir..." -cp -R . $CPDIR/ -echo " + Deleting cruft..." -pushd $CPDIR >/dev/null -rm -rf `svn propget svn:ignore .` -rm -rf `svn status |grep '?' |sed -s 's/\?//'` -popd >/dev/null -rm -rf `find $CPDIR -type d -name '.svn'` -echo " + Deleting Subversion metadata..." -rm -rf `find $CPDIR -type d -name '.svn'` -echo " + Fixing up permissions..." -chmod -R a+rw $CPDIR -chmod a+x `find $CPDIR -type d` -echo " + Building final tarball..." -rm -f $TARBALL -tar -czf $TARBALL -C $TMPCPDIR $BASENAME -echo " + Cleaning up..." -rm -rf $TMPCPDIR -echo " + All done! Packed to '$TARBALL' ..." -set +e - -exit 0 -