* Makefile.in (install): Don't install in $(tooldir).

This commit is contained in:
Ian Lance Taylor 1995-09-08 18:33:23 +00:00
parent 21852576ff
commit fe7ec1d0a2
2 changed files with 3 additions and 11 deletions

View File

@ -1,5 +1,7 @@
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.

View File

@ -47,7 +47,6 @@ docdir = $(datadir)/doc
SHELL = /bin/sh
# FIXME: use autoconf's AC_PROG_INSTALL
INSTALL = $(srcroot)/install.sh -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)
@ -108,16 +107,7 @@ force:
# 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