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