From b5374df926a631062629797412af4a70ce230fe1 Mon Sep 17 00:00:00 2001 From: Daniel Fiser Date: Fri, 8 Oct 2010 13:52:00 +0200 Subject: [PATCH] Fixed and simplified make-release.sh script. --- make-release.sh | 91 +------------------------------------------------ 1 file changed, 1 insertion(+), 90 deletions(-) diff --git a/make-release.sh b/make-release.sh index 171d3b0..b1a1803 100755 --- a/make-release.sh +++ b/make-release.sh @@ -5,95 +5,10 @@ NAME=libgjk COMMIT="" -NOTEST=0 -NODOC=0 CMD="git archive" -FILES_SRC=" -BSD-LICENSE -README -src/alloc.c -src/alloc.h -src/compiler.h -src/config.h.in -src/dbg.h -src/.gitignore -src/gjk -src/gjk.c -src/gjk.h -src/gjk_support.c -src/gjk_support.h -src/list.h -src/Makefile -src/Makefile.include -src/polytope.c -src/polytope.h -src/quat.h -src/simplex.h -src/support.c -src/support.h -src/vec3.c -src/vec3.h -" - -FILES_DOC=" -doc/jgt98convex.pdf -" - -FILES_TEST=" -src/testsuites/bench.c -src/testsuites/boxbox.c -src/testsuites/boxbox.h -src/testsuites/boxcyl.c -src/testsuites/boxcyl.h -src/testsuites/common.c -src/testsuites/common.h -src/testsuites/cu -src/testsuites/cu/check-regressions -src/testsuites/cu/COPYING -src/testsuites/cu/COPYING.LESSER -src/testsuites/cu/cu.c -src/testsuites/cu/cu.h -src/testsuites/cu/cu.o -src/testsuites/cu/.dir -src/testsuites/cu/.gitignore -src/testsuites/cu/latest.sh -src/testsuites/cu/libcu.a -src/testsuites/cu/Makefile -src/testsuites/cylcyl.c -src/testsuites/cylcyl.h -src/testsuites/.gitignore -src/testsuites/main.c -src/testsuites/Makefile -src/testsuites/polytope.c -src/testsuites/polytope.h -src/testsuites/regressions -src/testsuites/regressions/.dir -src/testsuites/regressions/TSBoxBox.err -src/testsuites/regressions/TSBoxBox.out -src/testsuites/regressions/TSBoxCyl.err -src/testsuites/regressions/TSBoxCyl.out -src/testsuites/regressions/TSCylCyl.err -src/testsuites/regressions/TSCylCyl.out -src/testsuites/regressions/TSPt.err -src/testsuites/regressions/TSPt.out -src/testsuites/regressions/TSSphereSphere.err -src/testsuites/regressions/TSSphereSphere.out -src/testsuites/regressions/TSVec3.err -src/testsuites/regressions/TSVec3.out -src/testsuites/spheresphere.c -src/testsuites/spheresphere.h -src/testsuites/vec3.c -src/testsuites/vec3.h -" - - # read arguments COMMIT="$1" -while shift; do - [ "$1" = "--notest" ] && NOTEST=1; - [ "$1" = "--nodoc" ] && NODOC=1; -done; if [ "$COMMIT" = "" ]; then echo "Usage: $0 commit [--notest] [--nodoc]" @@ -111,10 +26,6 @@ if echo "$COMMIT" | grep '^v[0-9]\.[0-9]\+' >/dev/null 2>&1; then FN=${NAME}-$tmp.tar.gz fi -FILES=$FILES_SRC -[ "$NODOC" != "1" ] && FILES="$FILES $FILES_DOC"; -[ "$NOTEST" != "1" ] && FILES="$FILES $FILES_TEST"; - -$CMD --prefix="$PREFIX" --format=tar $COMMIT -- $FILES | gzip >"$FN" +$CMD --prefix="$PREFIX" --format=tar $COMMIT | gzip >"$FN" echo "Package: $FN"