Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com>
+ * Makefile.in (install): Don't install in $(tooldir).
+
* configure.in: Call AC_CONFIG_HEADER. Don't try to use
bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and
AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
SHELL = /bin/sh
-# FIXME: use autoconf's AC_PROG_INSTALL
INSTALL = $(srcroot)/install.sh -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)
# Copy the files into directories where they will be run.
install:
- srcroot=`cd $(srcroot); pwd`; export srcroot; \
- $(INSTALL_XFORM) run $(bindir)/run ; \
- n=`t='$(program_transform_name)'; echo run | sed -e "" $$t`; \
- if [ -d $(tooldir) ] ; then \
- if [ -d $(tooldir)/bin ] ; then true ; else mkdir $(tooldir)/bin ; fi; \
- rm -f $(tooldir)/bin/run; \
- ln $(bindir)/$$n $(tooldir)/bin/run \
- || $(INSTALL_PROGRAM) run $(tooldir)/bin/run; \
- else true; fi
-
+ $(INSTALL_XFORM) run $(bindir)/run
Makefile: Makefile.in config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status