+branch/ubiquity

834 by Colin Watson
add an autogen.sh
1
#! /bin/sh -e
2151 by Colin Watson
add check for intltool
2
if ! type intltool-update >/dev/null 2>&1; then
3
	echo "Install intltool and try again." >&2
4
	exit 1
5
fi
6316 by Mathieu Trudel-Lapierre
autogen.sh: Use any available version of automake/aclocal.
6
autoreconf -I m4 -fi
2872 by Colin Watson
Fix intltool handling; po/Makefile.in.in was still coming from gettext.
7
intltoolize --copy --force --automake
3424 by Colin Watson
Stop the po directory's mostlyclean target from removing ubiquity.pot.
8
# We want to keep po/ubiquity.pot in the source package.
9
sed -i '/rm .*\$(GETTEXT_PACKAGE)\.pot/s/ \$(GETTEXT_PACKAGE)\.pot//' \
10
	po/Makefile.in.in