X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=packaging%2Fmake_dist;fp=packaging%2Fmake_dist;h=0000000000000000000000000000000000000000;hb=472b70e710ac48afb0d2831c00d26043b1843047;hp=614d028a002079130383fc35d11ac0a6a936c1a0;hpb=833e1c7c90e13ceaba3dde8e7a36fcc8dfb1db3c;p=gnokii.git diff --git a/packaging/make_dist b/packaging/make_dist deleted file mode 100755 index 614d028..0000000 --- a/packaging/make_dist +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -# -# This script is used for preparing the tarballs. -# Do not use it, please. -# - -# -# DeMorgan rules applied :-) I like math... -# - -if [ "x`whoami`" != xpavel -a "x`whoami`" != xhugh -a "x`whoami`" != xpkot ] -then - echo "No way to test this :-)" -fi - -VERSION=`cat ../VERSION` - -rm -rf /tmp/gnokii-${VERSION} -cp -r ../../gnokii /tmp/gnokii-${VERSION} - -# Some files and directories in CVS are useless -rm -rf /tmp/gnokii-${VERSION}/xkeyb - -( - cd /tmp/gnokii-${VERSION} - autoconf - ./configure - cp packaging/RedHat/gnokii.spec . - make distclean - chmod 755 mkinstalldirs - cd .. - tar cvfz /tmp/gnokii-${VERSION}.tar.gz gnokii-${VERSION} --exclude CVS -) - -rm -rf /tmp/gnokii-${VERSION} - -echo "Distribution generated in /tmp/gnokii-${VERSION}.tar.gz"