#!/bin/bash

PRODUCT=php-mesh
VERSION=1.1

TEMPDIR=${PRODUCT}-${VERSION}
ARCHIVE=${PRODUCT}-${VERSION}.tar.gz

rm -rf $TEMPDIR
mkdir -p $TEMPDIR

cp -R CHANGES LICENSE README *.php example $TEMPDIR
#TODO: Make this work for more recursion.
rm -rf $TEMPDIR/example/CVS

tar zcf $ARCHIVE $TEMPDIR

rm -rf $TEMPDIR


#!/bin/bash

PRODUCT=php-mesh
VERSION=1.1

TEMPDIR=${PRODUCT}-${VERSION}
ARCHIVE=${PRODUCT}-${VERSION}.tar.gz

rm -rf $TEMPDIR
mkdir -p $TEMPDIR

cp -R CHANGES LICENSE README *.php docs example $TEMPDIR
#TODO: Make this work for more recursion.
rm -rf $TEMPDIR/docs/CVS
rm -rf $TEMPDIR/example/CVS

tar zcf $ARCHIVE $TEMPDIR

rm -rf $TEMPDIR


Add docs directory to the distribution
Add docs directory to the distribution

