summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2014-04-10 00:42:49 -0400
committerJoey Hess2014-04-10 00:42:49 -0400
commit59b5965d3df4ff75349602ee0a7ff27738031cb2 (patch)
treed6ca14fa9c8f104cd34dd442fc8dbd64a99402ab /Makefile
parentbb1bc1ddc6627288d05668795d16f4acef4076e3 (diff)
propellor spin
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9b4a7d82..5bf9f40a 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ build: dist/setup-config
ln -sf dist/build/config/config propellor
deps:
- @if [ $$(whoami) = root ]; then apt-get -y install gnupg ghc cabal-install libghc-missingh-dev libghc-ansi-terminal-dev libghc-ifelse-dev libghc-unix-compat-dev libghc-hslogger-dev libghc-network-dev libghc-async-dev; fi || true
+ @if [ $$(whoami) = root ]; then apt-get -y install gnupg ghc cabal-install libghc-missingh-dev libghc-ansi-terminal-dev libghc-ifelse-dev libghc-unix-compat-dev libghc-hslogger-dev libghc-network-dev libghc-async-dev || cabal update; cabal install --only-dependencies; fi || true
dist/setup-config: propellor.cabal
if [ "$(CABAL)" = ./Setup ]; then ghc --make Setup; fi