* 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.
This commit is contained in:
Ian Lance Taylor 1997-04-15 18:55:38 +00:00
parent 591042f3e7
commit d60002f692
2 changed files with 17 additions and 6 deletions

View File

@ -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.

View File

@ -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: