2 # this is a script to create a release tarball.
3 # it requires the sources of concol in ../concol.
4 # you need to pass a version as VER env variable.
5 # e.g. VER=0.0.0 ./create-dist.sh
7 if [ -z "$VER" ] ; then
19 tempdir
=/tmp
/"$prog"-0000
20 tempdir_b
=$tempdir/"$prog"-"$VER"
27 git clone
"$concol" concol
28 git clone
"$progrepo" $prog
30 mv dist
/Makefile.dist Makefile
32 sed -i 's@"../concol/@"concol/@g' $prog.c
33 sed -i 's@../lib/@libulz/@g' Makefile
41 tar cjf
"$prog"-"$VER".
tar.bz2
"$prog"-"$VER"
42 mv "$prog"-"$VER".
tar.bz2
$me/"$prog"-"$VER".
tar.bz2
43 ls -la $me/"$prog"-$VER.
tar.bz2