From 4f94af6e5fd6e933414ae73e051f7e37b8f9ce42 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 27 Jul 2006 12:04:47 +0000 Subject: Accept option --quick. --- autogen.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 75eed57..7dec7ba 100755 --- a/autogen.sh +++ b/autogen.sh @@ -20,6 +20,14 @@ # along with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# Usage: ./autogen.sh [--quick] + +if test "x$1" = "x--quick"; then + quick=true +else + quick=false +fi + aclocal autoconf automake @@ -57,7 +65,10 @@ cp -p gettext-runtime/ABOUT-NLS gettext-tools/ABOUT-NLS aclocal -I ../../gettext-runtime/m4 -I ../../m4 autoconf automake - ./configure && (cd po && make update-po) && make distclean + # Rebuilding the examples PO files is only rarely needed. + if ! $quick; then + ./configure && (cd po && make update-po) && make distclean + fi ) cp -p autoconf-lib-link/config.rpath build-aux/config.rpath -- cgit v1.1