From: greg Date: Fri, 25 Nov 2005 20:08:28 +0000 (+0000) Subject: add .tar.gz build X-Git-Tag: ljdump-1.3.2~24 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=ff7567ecc2b9b1dc1603242e443e901c2bc7e3e6;p=oss%2Fljdump.git add .tar.gz build git-svn-id: file:///home/svn/ljdump/trunk@8 7994a137-d0a5-da11-ade6-0050bffea3d9 --- diff --git a/build b/build index ff7bd33..bc37860 100755 --- a/build +++ b/build @@ -1,6 +1,18 @@ #!/bin/sh VERSION=`grep Version ljdump.py | cut -d' ' -f3` + +DIR=ljdump-$VERSION +rm -rf $DIR +mkdir $DIR +cp ljdump.py ljdump.config.sample $DIR/ + +TARGZ=ljdump-$VERSION.tar.gz +rm $TARGZ +tar czf $TARGZ $DIR/* + ZIP=ljdump-$VERSION.zip rm $ZIP -zip $ZIP ljdump.py ljdump.config.sample +zip $ZIP $DIR/* + +rm -rf $DIR