2003-10-25 14:50:23 +00:00
|
|
|
#!/bin/sh
|
2003-11-01 20:42:16 +00:00
|
|
|
|
2005-04-17 19:01:18 +00:00
|
|
|
# gettextize updates Makefile.am, configure.in
|
2005-04-23 15:03:27 +00:00
|
|
|
cp configure.in configure.in.old
|
2005-04-24 08:48:54 +00:00
|
|
|
cp Makefile.am Makefile.am.old
|
2006-04-12 16:32:24 +00:00
|
|
|
if test "$1" = "--auto" ; then
|
|
|
|
grep -v 'read dummy < /dev/tty' $(which gettextize) | /bin/sh -s -- --copy --force --intl --no-changelog
|
|
|
|
else
|
|
|
|
gettextize --copy --force --intl --no-changelog
|
|
|
|
fi
|
2005-04-24 08:48:54 +00:00
|
|
|
mv Makefile.am.old Makefile.am
|
2005-04-23 15:03:27 +00:00
|
|
|
mv configure.in.old configure.in
|
2006-04-12 16:32:24 +00:00
|
|
|
libtoolize --automake --force --copy
|
|
|
|
aclocal
|
2005-04-17 19:01:18 +00:00
|
|
|
# autoheader creates config.h.in needed by autoconf
|
2006-04-12 16:32:24 +00:00
|
|
|
autoheader
|
2005-04-17 19:01:18 +00:00
|
|
|
# autoconf creates configure
|
2006-04-12 16:32:24 +00:00
|
|
|
autoconf
|
2005-04-17 19:01:18 +00:00
|
|
|
# automake creates Makefile.in
|
|
|
|
automake --add-missing --copy --gnu
|