From 5be8e9d4c708289b95089034334b840714c7a63a Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 1 Feb 2005 05:46:49 +0000 Subject: [PATCH] Add a comment to lib/Makefile.am saying that this is an autogenerated file. Exit with code 1 if any of autotools fails. --- bootstrap | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap b/bootstrap index 88b1bed..6c56ceb 100755 --- a/bootstrap +++ b/bootstrap @@ -2,7 +2,7 @@ # Bootstrap 'tar' from CVS. -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -271,7 +271,8 @@ echo "$0: Creating m4/gnulib.m4" echo "])") > ./m4/gnulib.m4 echo "$0: Creating lib/Makefile.am" -(cat lib/Makefile.tmpl +(echo "# This file is generated automatically from lib/Makefile.am. Do not edit!" + cat lib/Makefile.tmpl for gnulib_module in $gnulib_modules; do echo "# $gnulib_module" @@ -324,7 +325,7 @@ fi # Reconfigure, getting other files. echo "$0: autoreconf --verbose --install --force ..." -autoreconf --verbose --install --force +autoreconf --verbose --install --force || exit 1 echo "$0: done. Now you can run './configure'." -- 2.44.0