Added --auto option, to remove wait for Return key (useful for automatic CVS build scripts)
This commit is contained in:
parent
f2258884d9
commit
0da4487a11
14
autogen.sh
14
autogen.sh
@ -3,14 +3,18 @@
|
|||||||
# gettextize updates Makefile.am, configure.in
|
# gettextize updates Makefile.am, configure.in
|
||||||
cp configure.in configure.in.old
|
cp configure.in configure.in.old
|
||||||
cp Makefile.am Makefile.am.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 Makefile.am.old Makefile.am
|
||||||
mv configure.in.old configure.in
|
mv configure.in.old configure.in
|
||||||
libtoolize --automake --force --copy &&
|
libtoolize --automake --force --copy
|
||||||
aclocal &&
|
aclocal
|
||||||
# autoheader creates config.h.in needed by autoconf
|
# autoheader creates config.h.in needed by autoconf
|
||||||
autoheader &&
|
autoheader
|
||||||
# autoconf creates configure
|
# autoconf creates configure
|
||||||
autoconf &&
|
autoconf
|
||||||
# automake creates Makefile.in
|
# automake creates Makefile.in
|
||||||
automake --add-missing --copy --gnu
|
automake --add-missing --copy --gnu
|
||||||
|
@ -3,14 +3,18 @@
|
|||||||
# gettextize updates Makefile.am, configure.in
|
# gettextize updates Makefile.am, configure.in
|
||||||
cp configure.in configure.in.old
|
cp configure.in configure.in.old
|
||||||
cp Makefile.am Makefile.am.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 Makefile.am.old Makefile.am
|
||||||
mv configure.in.old configure.in
|
mv configure.in.old configure.in
|
||||||
libtoolize --automake --force --copy &&
|
libtoolize --automake --force --copy
|
||||||
aclocal &&
|
aclocal
|
||||||
# autoheader creates config.h.in needed by autoconf
|
# autoheader creates config.h.in needed by autoconf
|
||||||
autoheader &&
|
autoheader
|
||||||
# autoconf creates configure
|
# autoconf creates configure
|
||||||
autoconf &&
|
autoconf
|
||||||
# automake creates Makefile.in
|
# automake creates Makefile.in
|
||||||
automake --add-missing --copy --gnu
|
automake --add-missing --copy --gnu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user