diff options
author | Ian Lynagh <igloo@earth.li> | 2007-11-24 16:30:28 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-11-24 16:30:28 +0000 |
commit | 3d44e49e2e2371ba1686fb967987e8098e4e58a7 (patch) | |
tree | f8937985562d5b95f598b5efd2e02c02242eec50 /distrib | |
parent | ac4610c4da6966803b851cb4264bcb4427d6e2d0 (diff) | |
download | haskell-3d44e49e2e2371ba1686fb967987e8098e4e58a7.tar.gz |
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.
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/Makefile-bin-vars.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/distrib/Makefile-bin-vars.in b/distrib/Makefile-bin-vars.in index 511f237b24..18a73e763e 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 |