3 # release.sh: script to roll a release tarball of darkstat.
4 # copyright (c) 2006-2009 Emil Mikulic.
6 # This is for developer use only and lives in the repo but
7 # shouldn't end up in a tarball.
9 # Remember to run "./test_headers.sh *.h"
10 # Remember to run "make depend" to update deps in Makefile.in
14 echo "usage: $0 version" >&2
89 "$@" ||
{ say ERROR
!; exit 1; }
93 run
cp -r $files $PKG/.
95 # set the version number
96 (echo "AC_INIT(darkstat, $VERSION)"
97 grep -v "^AC_INIT" configure.ac
) > $PKG/configure.ac
99 say
set version
: `grep '^AC_INIT' $PKG/configure.ac`
104 run
rm -r autom4te.cache
108 run
tar -cf $PKG.
tar $PKG
109 run
bzip2 -9vv $PKG.
tar