From 5d4c714ebd3c8eecd079f9c97e1a2df1a566dea2 Mon Sep 17 00:00:00 2001 From: David MacKenzie Date: Wed, 4 Aug 1993 00:28:19 +0000 Subject: [PATCH] fix syntax error --- bfd/ChangeLog | 2 ++ bfd/Makefile.in | 17 +++++++---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 10209ebc75b..a3c1ff81f81 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,7 @@ Tue Aug 3 16:33:11 1993 David J. Mackenzie (djm@thepub.cygnus.com) + * Makefile.in (install): Fix sh syntax error. + * aoutf1.h: Make bfd_error_trap extern; it's defined in bfd.c. Tue Aug 3 15:19:09 1993 Fred Fish (fnf@deneb.cygnus.com) diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 5804b52ee2a..63eb1af2883 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -306,16 +306,13 @@ install: $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h - -if [ -z "$(oldincludedir)" ] ; then true ; \ - else if [ -d $(oldincludedir) ] ; then true ; \ - else mkdir $(oldincludedir) ; \ - fi ; \ - $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h;\ - $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h;\ - $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h;\ - fi - @$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) - + -if test -z "$(oldincludedir)"; then true; else \ + test -d $(oldincludedir) || mkdir $(oldincludedir); \ + $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \ + $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \ + $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \ + @$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \ + fi Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) $(SHELL) config.status -- 2.30.2