2006-02-19 10:23:14 -08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
rm -rf autom4te.cache
|
|
|
|
rm -f aclocal.m4 ltmain.sh
|
|
|
|
|
|
|
|
touch README
|
|
|
|
|
2007-03-30 14:20:34 -07:00
|
|
|
echo "Running autopoint..." ; autopoint -f || :
|
2007-02-11 07:28:53 -08:00
|
|
|
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
|
2006-02-19 10:23:14 -08:00
|
|
|
echo "Running autoheader..." ; autoheader || exit 1
|
|
|
|
echo "Running autoconf..." ; autoconf || exit 1
|
|
|
|
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
|
|
|
|
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
|
2007-03-04 16:09:40 -08:00
|
|
|
echo "Generating gettext net.pot template"; \
|
|
|
|
xgettext \
|
|
|
|
--output net.pot \
|
|
|
|
--output-dir=po \
|
|
|
|
--language=C \
|
|
|
|
--add-location \
|
|
|
|
--keyword=D_ \
|
|
|
|
--sort-by-file \
|
|
|
|
--copyright-holder="TODO" \
|
|
|
|
--foreign-user \
|
|
|
|
`find . -name "*.[ch]" -print` || exit 1
|
2006-02-19 10:23:14 -08:00
|
|
|
|
|
|
|
if [ -z "$NOCONFIGURE" ]; then
|
|
|
|
./configure "$@"
|
|
|
|
fi
|