* Makefile.in (init.c): Fixup final sed script to work around

Linux bug with `p' operator.
This commit is contained in:
Stu Grossman 1996-10-10 23:34:38 +00:00
parent 1491f2eaee
commit e96dc1f7d4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com)
* Makefile.in (init.c): Fixup final sed script to work around
Linux bug with `p' operator.
Wed Oct 9 18:02:48 1996 Stan Shebs <shebs@andros.cygnus.com>
* remote-mips.c: Use the correct name everywhere (DDB) for NEC's

View File

@ -603,7 +603,7 @@ init.c: $(OBS) $(TSOBS)
-e 's/\.o/.c/' \
-e 's|\([^ ][^ ]*\)|$(srcdir)/\1|g' | \
xargs grep -s '^_initialize_[a-z_0-9A-Z]* *(' | \
sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/p' >>init.c-tmp
sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/ {extern void \1 PARAMS ((void)); \1 ();}/' >>init.c-tmp
@echo '}' >>init.c-tmp
@mv init.c-tmp init.c