aboutsummaryrefslogtreecommitdiff
path: root/sim/w65
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-04-15 18:55:38 +0000
committerIan Lance Taylor <ian@airs.com>1997-04-15 18:55:38 +0000
commitd60002f692482e74ea430012f5db1c3fc25af962 (patch)
tree13fbfab5a19f35349cc188f55e6210dd26e52a6c /sim/w65
parent * gdbserver/Makefile.in (INSTALL_XFORM): Remove. (diff)
downloadbinutils-gdb-d60002f692482e74ea430012f5db1c3fc25af962.tar.gz
binutils-gdb-d60002f692482e74ea430012f5db1c3fc25af962.tar.bz2
binutils-gdb-d60002f692482e74ea430012f5db1c3fc25af962.zip
* Makefile.in (INSTALL): Set to @INSTALL@.
(INSTALL_XFORM, INSTALL_XFORM1): Remove. (install): Depend upon installdirs. Use $(program_transform_name) directly, rather than using $(INSTALL_XFORM) and $(INSTALL_XFORM1). (installdirs): New target.
Diffstat (limited to 'sim/w65')
-rw-r--r--sim/w65/ChangeLog9
-rwxr-xr-xsim/w65/Makefile.in14
2 files changed, 17 insertions, 6 deletions
diff --git a/sim/w65/ChangeLog b/sim/w65/ChangeLog
index 934bb8cbdf5..1f3258539fb 100644
--- a/sim/w65/ChangeLog
+++ b/sim/w65/ChangeLog
@@ -1,3 +1,12 @@
+Tue Apr 15 14:55:10 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * Makefile.in (INSTALL): Set to @INSTALL@.
+ (INSTALL_XFORM, INSTALL_XFORM1): Remove.
+ (install): Depend upon installdirs. Use $(program_transform_name)
+ directly, rather than using $(INSTALL_XFORM) and
+ $(INSTALL_XFORM1).
+ (installdirs): New target.
+
Mon Apr 14 16:30:02 1997 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (INSTALL): Change install.sh to install-sh.
diff --git a/sim/w65/Makefile.in b/sim/w65/Makefile.in
index c68d7f2ebea..277543a6a68 100755
--- a/sim/w65/Makefile.in
+++ b/sim/w65/Makefile.in
@@ -1,5 +1,5 @@
# Makefile for GNU binary-file utilities
-# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+# Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
# This file is part of GNU binutils.
@@ -46,11 +46,9 @@ includedir = @includedir@
SHELL = /bin/sh
-INSTALL = `cd $(srcdir)/../..;pwd`/install-sh -c
+INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
-INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
-INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
AR = @AR@
AR_FLAGS = qv
@@ -163,11 +161,15 @@ etags tags: TAGS
TAGS: force
etags $(INCDIR)/*.h $(srcdir)/*.[hc]
-install: all
+install: all installdirs
for i in $(PROGS) ; do \
- $(INSTALL_XFORM) $$i $(bindir)/`echo $$i | sed -e 's/.new//'` ; \
+ n=`echo $$i | sed -e 's/.new//' | sed '$(program_transform_name)'`; \
+ $(INSTALL_PROGRAM) $$i $(bindir)/$$n; \
done
+installdirs:
+ $(SHELL) $(srcdir)/../../mkinstalldirs $(bindir)
+
install-info:
clean-info: