From ff563b68aa7fa53d10036251b608cbf1e7a2d67d Mon Sep 17 00:00:00 2001 From: mdb Date: Sat, 11 Aug 2001 23:06:11 +0000 Subject: [PATCH] Created a script for building source distributions. git-svn-id: https://samskivert.googlecode.com/svn/trunk@233 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- projects/samskivert/bin/build-dist.sh | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 projects/samskivert/bin/build-dist.sh diff --git a/projects/samskivert/bin/build-dist.sh b/projects/samskivert/bin/build-dist.sh new file mode 100755 index 00000000..18df7e90 --- /dev/null +++ b/projects/samskivert/bin/build-dist.sh @@ -0,0 +1,42 @@ +#!/bin/sh +# +# $Id: build-dist.sh,v 1.1 2001/08/11 23:06:11 mdb Exp $ +# +# Builds a distribution archive. This should be run from the top-level +# project directory and it will place the distribution archive into the +# directory identified by $DISTDIR. + +USAGE="Usage: $0 distname (eg. samskivert-1.4)" +DISTDIR=dist + +if [ -z "$1" ]; then + echo $USAGE + exit -1 +else + TARGET=$1 +fi + +# build our excludes file +cat > .excludes <