3 # release.sh: script to roll a release tarball of darkstat.
4 # copyright (c) 2006-2011 Emil Mikulic.
6 # This is for developer use only and lives in the repo but
7 # shouldn't end up in a tarball.
10 echo "usage: $0 3.0.0rc0" >&2
83 "$@" ||
{ say ERROR
!; exit 1; }
89 run
make graphjs.h stylecss.h
95 run
cp -r $files $PKG/.
96 run
sed -e "/AC_INIT/s/darkstat, [^,)]*/darkstat, $VERSION/" configure.ac
> $PKG/configure.ac
97 say
set version
: `grep '^AC_INIT' $PKG/configure.ac`
101 run
rm -r autom4te.cache
105 run
tar chof
$PKG.
tar $PKG
106 run
bzip2 -9vv $PKG.
tar