#! /bin/sh

aclocal -I lib
autoconf
autoheader
automake --add-missing --copy

if [ -f debian/rules ] ; then
  chmod +x debian/rules
fi

cd doc && make