* Makefile.in (init.c): Drop -e option to grep. Not necessary and
authorAndrew Cagney <cagney@redhat.com>
Thu, 27 Jun 2002 15:49:23 +0000 (15:49 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 27 Jun 2002 15:49:23 +0000 (15:49 +0000)
Solaris /bin/grep does not not like it.  From Peter Schauer.

gdb/ChangeLog
gdb/Makefile.in

index 28142e3..1fc1963 100644 (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.
index 95b9723..ceba3e4 100644 (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