summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-10 17:21:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-10 17:21:13 -0400
commite4fd84ea2cd2dda27306ade7ced75f0a1dc53cbe (patch)
tree6c5e0ef9a109564f5e289e4803a1c58d509b4626 /Makefile
parentbb2ac9043502bbfcd807959dfe919637c500d753 (diff)
switch CABAL to cabal
<joeyh> anyone know why runghc Setup.hs is behaving differently than cabal configure for me? <joeyh> I'm getting different flags selected <geekosaur> joeyh, runghc Setup.hs uses --global by default <geekosaur> cabal uses --local <nomeata> joeyh: I don’t know the reasons, but I have made similar observations as well <geekosaur> and if that means different libraries/versions visible, that can affect flag solving <joeyh> aha! <monochrom> it is because Cabal authors expect normal people to use cabal-install and linux distro creators to use Setup <monochrom> the expectation is documented nowhere
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d2e206437..38a41ab76 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ all=git-annex $(mans) docs
GHC?=ghc
GHCMAKE=$(GHC) $(GHCFLAGS) --make
PREFIX=/usr
-CABAL?=runhaskell Setup.hs
+CABAL?=cabal # set to "runghc Setup.hs" if you lack a cabal program
# Am I typing :make in vim? Do a fast build.
ifdef VIM