4 # This script is used for preparing the tarballs.
5 # Do not use it, please.
9 # DeMorgan rules applied :-) I like math...
12 if [ "x`whoami`" != xpavel -a "x`whoami`" != xhugh -a "x`whoami`" != xpkot ]
14 echo "No way to test this :-)"
17 VERSION=`cat ../VERSION`
19 rm -rf /tmp/gnokii-${VERSION}
20 cp -r ../../gnokii /tmp/gnokii-${VERSION}
22 # Some files and directories in CVS are useless
23 rm -rf /tmp/gnokii-${VERSION}/xkeyb
26 cd /tmp/gnokii-${VERSION}
29 cp packaging/RedHat/gnokii.spec .
31 chmod 755 mkinstalldirs
33 tar cvfz /tmp/gnokii-${VERSION}.tar.gz gnokii-${VERSION} --exclude CVS
36 rm -rf /tmp/gnokii-${VERSION}
38 echo "Distribution generated in /tmp/gnokii-${VERSION}.tar.gz"