# bootstrap

XGETTEXT_KEYWORDS='--keyword=_ --keyword=N_ --keyword=translate --qt'

rm -f  intltool-extract.in intltool-merge.in intltool-update.in
rm -f  po/Makefile.in.in
rm -f  config.guess config.sub depcomp install-sh missing
rm -rf autom4te.cache

# gettextize will modify configure.in and Makefile.am to adjust
# the current version of gettext
#
#gettextize --copy --no-changelog -f

glib-gettextize --copy || exit 1
intltoolize --automake || exit 1
(echo; echo "XGETTEXT_KEYWORDS=$XGETTEXT_KEYWORDS") >> po/Makefile.in.in || exit 1

libtoolize --force --copy
aclocal $ACLOCAL_FLAGS || exit 1
autoheader
touch stamp-h
automake --add-missing --gnu --copy
autoconf
configure

echo "Now type 'make' to compile Granule"
