Added --auto option, to remove wait for Return key (useful for automatic CVS build scripts)

This commit is contained in:
Sebastien Helleu 2006-04-12 16:32:24 +00:00
parent f2258884d9
commit 0da4487a11
2 changed files with 18 additions and 10 deletions

View File

@ -3,14 +3,18 @@
# gettextize updates Makefile.am, configure.in
cp configure.in configure.in.old
cp Makefile.am Makefile.am.old
gettextize --copy --force --intl --no-changelog &&
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
mv Makefile.am.old Makefile.am
mv configure.in.old configure.in
libtoolize --automake --force --copy &&
aclocal &&
libtoolize --automake --force --copy
aclocal
# autoheader creates config.h.in needed by autoconf
autoheader &&
autoheader
# autoconf creates configure
autoconf &&
autoconf
# automake creates Makefile.in
automake --add-missing --copy --gnu

View File

@ -3,14 +3,18 @@
# gettextize updates Makefile.am, configure.in
cp configure.in configure.in.old
cp Makefile.am Makefile.am.old
gettextize --copy --force --intl --no-changelog &&
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
mv Makefile.am.old Makefile.am
mv configure.in.old configure.in
libtoolize --automake --force --copy &&
aclocal &&
libtoolize --automake --force --copy
aclocal
# autoheader creates config.h.in needed by autoconf
autoheader &&
autoheader
# autoconf creates configure
autoconf &&
autoconf
# automake creates Makefile.in
automake --add-missing --copy --gnu