+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.
# 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.
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
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: