From d60002f692482e74ea430012f5db1c3fc25af962 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 15 Apr 1997 18:55:38 +0000 Subject: [PATCH] * 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. --- sim/w65/ChangeLog | 9 +++++++++ sim/w65/Makefile.in | 14 ++++++++------ 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 + + * 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 * 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: -- 2.30.2