fix syntax error
authorDavid MacKenzie <djm@cygnus>
Wed, 4 Aug 1993 00:28:19 +0000 (00:28 +0000)
committerDavid MacKenzie <djm@cygnus>
Wed, 4 Aug 1993 00:28:19 +0000 (00:28 +0000)
bfd/ChangeLog
bfd/Makefile.in

index 10209ebc75b3b7a7c260bfd43f4dcbd33d447f94..a3c1ff81f81e2099605f8088990623055b6a3332 100644 (file)
@@ -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)
index 5804b52ee2a9c7c63686f4d85c5d41373b4e3029..63eb1af2883f7764fb8d0af464610bc5ce107103 100644 (file)
@@ -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