#!/bin/sh

if [ x"$1" = x ] ; then
  echo "Usage : archive.sh version"
  exit 1
fi

echo "aclocal -I m4"
aclocal -I m4

echo "autoconf"
autoconf

echo "autoheader"
autoheader

echo automake
automake

echo "tar"
cd ..
tar cfz ebview-$1.tar.gz ebview-$1

echo "done"
