X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2FMakefile-bin-vars.in;h=d2134988359f754ef129f4368c134157fc67d41f;hb=25cead299c5857b9142a82c917080a654be44b83;hp=1b5b8fa71f5ee9451c01efb66714abf62ebf18ea;hpb=4217c6caef9f6d261df1449c590331878a493f14;p=ghc-hetmet.git diff --git a/distrib/Makefile-bin-vars.in b/distrib/Makefile-bin-vars.in index 1b5b8fa..d213498 100644 --- a/distrib/Makefile-bin-vars.in +++ b/distrib/Makefile-bin-vars.in @@ -12,7 +12,10 @@ bindir = @bindir@ libdir = @libdir@/$(package)-$(version) libexecdir = $(libdir) datarootdir = @datarootdir@ -datadir = @datadir@/$(package)-$(version) +# datadir is set to libdir here as GHC needs package.conf and unlit +# to be in the same place (and things like ghc-pkg need to agree on +# where package.conf is, so we just set it globally). +datadir = $(libdir) platform = @TargetPlatform@ prefix = @prefix@ @@ -31,16 +34,25 @@ pdfdir = $(docdir) PERL = @PerlCmd@ SH = /bin/sh -RM = rm -f +RM = rm +RM_OPTS = -f MV = mv 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 RANLIB = @RANLIB@ +CPP = @CPP@ RAWCPP_FLAGS = -undef -traditional