* Makefile.in (init.c): Drop -e option to grep. Not necessary and

Solaris /bin/grep does not not like it.  From Peter Schauer.
This commit is contained in:
Andrew Cagney 2002-06-27 15:49:23 +00:00
parent b9aa90c9a1
commit f30e5a77b9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-06-27 Andrew Cagney <ac131313@redhat.com>
* Makefile.in (init.c): Drop -e option to grep. Not necessary and
Solaris /bin/grep does not not like it. From Peter Schauer.
2002-06-26 Tom Tromey <tromey@redhat.com>
* command.h (add_setshow_cmd): Declare.

View File

@ -876,7 +876,7 @@ init.c: $(INIT_FILES)
-e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \
while read f; do grep '^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev/null; done | \
sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/\1/' | \
( echo _initialize_gdbtypes ; grep -v -e '^_initialize_gdbtypes$$' ) > init.l-tmp
( echo _initialize_gdbtypes ; grep -v '^_initialize_gdbtypes$$' ) > init.l-tmp
@echo '/* Do not modify this file. */' >>init.c-tmp
@echo '/* It is created automatically by the Makefile. */'>>init.c-tmp
@echo '#include "defs.h"' >>init.c-tmp