* Makefile.in (init.c): Don't call sed if filename is empty.
This commit is contained in:
parent
0a197a969c
commit
e2507f812e
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Nov 5 05:58:03 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
|
||||
* Makefile.in (init.c): Don't call sed if filename is empty.
|
||||
|
||||
Thu Nov 4 08:27:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* dbxread.c (unknown_symchar_complaint): Make message refer to
|
||||
|
|
|
@ -505,8 +505,11 @@ init.c: $(OBS) $(TSOBS)
|
|||
-e '/version.o/d' \
|
||||
-e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
|
||||
-e 's/\.o/.c/'` ; \
|
||||
sed <$(srcdir)/$$filename >>init.c-tmp -n \
|
||||
-e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\([a-z_0-9A-Z]*\).*/ {extern void \1 (); \1 ();}/p' ; \
|
||||
case $$filename in \
|
||||
"") ;; \
|
||||
*) sed <$(srcdir)/$$filename >>init.c-tmp -n \
|
||||
-e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\([a-z_0-9A-Z]*\).*/ {extern void \1 (); \1 ();}/p' ; ;; \
|
||||
esac ; \
|
||||
done
|
||||
@echo '}' >>init.c-tmp
|
||||
@mv init.c-tmp init.c
|
||||
|
|
Loading…
Reference in a new issue