plain `grep' on the Makefile, as its line length may exceed that
for grep. Bug report against coreutils by Sam Sirlin.
* THANKS: Update.
+2006-06-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Do not use
+ plain `grep' on the Makefile, as its line length may exceed that
+ for grep. Bug report against coreutils by Sam Sirlin.
+ * THANKS: Update.
+
2006-05-26 Sergey Poznyakoff <gray@Mirddin.farlep.net> (tiny change)
* doc/automake.texi (Options): Add anchor `tar-formats'.
Rusty Ballinger rusty@rlyeh.engr.sgi.com
Ryan T. Sammartino ryants@shaw.ca
Sam Hocevar sam@zoy.org
+Sam Sirlin sam@kalessin.jpl.nasa.gov
Sander Niemeijer niemeijer@science-and-technology.nl
Santiago Vila sanvila@unex.es
Scott James Remnant scott@netsplit.com
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
- # So let's grep whole file.
- if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue