Skip to content
Snippets Groups Projects
Commit fe7ec1d0 authored by Ian Lance Taylor's avatar Ian Lance Taylor
Browse files

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

parent 21852576
No related branches found
No related tags found
No related merge requests found
Fri Sep 8 12:18:53 1995 Ian Lance Taylor <ian@cygnus.com> 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 * 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 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. AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR.
......
...@@ -47,7 +47,6 @@ docdir = $(datadir)/doc ...@@ -47,7 +47,6 @@ docdir = $(datadir)/doc
SHELL = /bin/sh SHELL = /bin/sh
# FIXME: use autoconf's AC_PROG_INSTALL
INSTALL = $(srcroot)/install.sh -c INSTALL = $(srcroot)/install.sh -c
INSTALL_PROGRAM = $(INSTALL) INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL) INSTALL_DATA = $(INSTALL)
...@@ -108,16 +107,7 @@ force: ...@@ -108,16 +107,7 @@ force:
# Copy the files into directories where they will be run. # Copy the files into directories where they will be run.
install: install:
srcroot=`cd $(srcroot); pwd`; export srcroot; \ $(INSTALL_XFORM) run $(bindir)/run
$(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
Makefile: Makefile.in config.status Makefile: Makefile.in config.status
CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment