+Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)
+
+ * Makefile.in (install): if $(tooldir) exists, install ld in
+ $(tooldir)/bin.
+
Fri Sep 11 10:24:22 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* Makefile.in, configure.in: modified to support i386-coff
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
-tooldir = $(bindir)
+tooldir = $(bindir)/$(target_alias)
datadir = $(prefix)/lib
mandir = $(prefix)/man
man1dir = $(mandir)/man1
-n=`t='$(program_transform_name)'; echo ld | sed -e "" $$t`; \
rm -f $(bindir)/$$n; \
$(INSTALL_PROGRAM) ld.new $(bindir)/$$n; \
- $(INSTALL_DATA) $(srcdir)/ld.1 $(man1dir)/$$n.1
- -if [ -d $(tooldir) ]; then rm -f $(tooldir)/ld; $(INSTALL_PROGRAM) ld.new $(tooldir)/ld; else true; fi
+ $(INSTALL_DATA) $(srcdir)/ld.1 $(man1dir)/$$n.1; \
+ if [ -d $(tooldir) ]; then \
+ if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
+ rm -f $(tooldir)/bin/ld; \
+ ln $(bindir)/$$n $(tooldir)/bin/ld \
+ || $(INSTALL_PROGRAM) ld.new $(tooldir)/bin/ld; \
+ else true; fi
install-info: info
-parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \