diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-18 22:39:58 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-18 22:39:58 +0000 |
commit | 940de69d492a78798d623ec0dbd7f3b5d5219ab5 (patch) | |
tree | bbbbac840a6c3182168705dacaf675fc3dc68bca /gcc/ch | |
parent | a797d674a3ed8b1d3bb462f85bd2bc7c38642f77 (diff) | |
download | gcc-940de69d492a78798d623ec0dbd7f3b5d5219ab5.tar.gz |
* Makefile.in (hash.h): Delete a redundant use of gawk and sed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34002 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ch')
-rw-r--r-- | gcc/ch/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ch/Makefile.in | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index a491bb376eb..24991a04bc5 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,7 @@ +2000-05-18 Chris Demetriou <cgd@netbsd.org> + + * Makefile.in (hash.h): Delete a redundant use of gawk and sed. + Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com> * decl.c (c_decode_option): Update -Wall unused flags by diff --git a/gcc/ch/Makefile.in b/gcc/ch/Makefile.in index c8b441af602..7e9e229f769 100644 --- a/gcc/ch/Makefile.in +++ b/gcc/ch/Makefile.in @@ -250,16 +250,14 @@ CHILL_TREE_H = $(TREE_H) ch-tree.h ch-tree.def # one all lowercase. The hash table ends up with both sets in it. $(srcdir)/hash.h: sed -e '1,/^%%/d' < $(srcdir)/gperf | \ - sed '/^[^a-zA-Z]/d' | tr "[a-z]" "[A-Z]" > gperf.tmp - gawk '{ printf ("s/^%s,/%s,/\n", $$1, toupper ($$1)) }' < gperf.tmp > sed.tmp - sed -f sed.tmp < gperf.tmp > gperf.tmp2 + sed '/^[^a-zA-Z]/d' | tr "[a-z]" "[A-Z]" > gperf.tmp2 cat $(srcdir)/gperf gperf.tmp2 > gperf.tmp gperf -L C -F ', 0, 0, 0' -D -E -S1 -p -j1 -i 1 -g -o -t -k'*' \ gperf.tmp > $(srcdir)/hash.h || ( \ echo "Please update your 'gperf' from the GCC infrastructure" >&2 ; \ echo " ftp://sourceware.cygnus.com/pub/egcs/infrastructure/gperf*" >&2 ; \ exit 1 ) - $(RM) gperf.tmp gperf.tmp2 sed.tmp + $(RM) gperf.tmp gperf.tmp2 actions.o : actions.c $(CONFIG_H) $(CHILL_TREE_H) actions.h $(RTL_H) \ lex.h $(srcdir)/../flags.h $(srcdir)/../input.h \ |