diff options
author | Ian Lynagh <igloo@earth.li> | 2008-10-05 14:33:07 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-10-05 14:33:07 +0000 |
commit | b2a4e6bd520b414d391ab90ec5550d5e66740504 (patch) | |
tree | 07bee18098ad1f01a623cf0b5a64af0bd75e0b1d /distrib | |
parent | 099e2092e8b172d385eb8213fc86fc9b97f5a82b (diff) | |
download | haskell-b2a4e6bd520b414d391ab90ec5550d5e66740504.tar.gz |
We need to set datadir = $(libdir) in bindists
We already do in the normal Makefiles.
This is because 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).
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/Makefile-bin-vars.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/distrib/Makefile-bin-vars.in b/distrib/Makefile-bin-vars.in index 18a73e763e..cb69ac675e 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@ |