aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog2
-rw-r--r--bfd/Makefile.in17
2 files changed, 9 insertions, 10 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 10209eb..a3c1ff8 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 5804b52..63eb1af 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