mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* Makefile.in (install): Don't install in $(tooldir).
This commit is contained in:
parent
21852576ff
commit
fe7ec1d0a2
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user