From 3d44e49e2e2371ba1686fb967987e8098e4e58a7 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 24 Nov 2007 16:30:28 +0000 Subject: [PATCH] Copy the INSTALL hack from mk/config.mk.in into distrib/Makefile-bin-vars.in configure will set INSTALL to ./install-sh if it can't find it in the path, so we need to replace the . with the path to our root. --- distrib/Makefile-bin-vars.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/distrib/Makefile-bin-vars.in b/distrib/Makefile-bin-vars.in index 511f237..18a73e7 100644 --- a/distrib/Makefile-bin-vars.in +++ b/distrib/Makefile-bin-vars.in @@ -37,6 +37,13 @@ CP = cp LN_S = @LN_S@ CHMOD = chmod INSTALL = @INSTALL@ +# +# Sigh - the autoconf macro for INSTALL will subst a relative path to the fallback +# install-sh script (if chosen). This not terribly useful to us, so we convert +# it into an abs. path. +# +INSTALL := $(subst ./install-sh,$(FPTOOLS_TOP_ABS)/install-sh,$(INSTALL)) + exeext = @exeext@ SED = @SedCmd@ DEFAULT_TMPDIR = /tmp -- 1.7.10.4