X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2FMakefile-bin-vars.in;h=cb69ac675eac115158c576a10f5c1642475d3471;hb=dd3d9333b2e2f6a0959bb4aebbad5bf23e968fb6;hp=f6b59ed65e79998861a3bc2ea705faf4edabeeb4;hpb=1ee0b69e54ad948a518c3fb0f5bb77d5b7abcaf9;p=ghc-hetmet.git diff --git a/distrib/Makefile-bin-vars.in b/distrib/Makefile-bin-vars.in index f6b59ed..cb69ac6 100644 --- a/distrib/Makefile-bin-vars.in +++ b/distrib/Makefile-bin-vars.in @@ -12,12 +12,17 @@ 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@ exec_prefix = @exec_prefix@ +mandir = $(datarootdir)/man + headerdir = $(libdir)/include # default @@ -35,10 +40,18 @@ 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