summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f0e91106..fcee0734 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
build: dist/setup-config
+ git pull
+ if [ $$(whoami) = root ] then apt-get install ghc cabal-install libghc-missingh-dev libansi-terminal-dev libghc-ifelse-dev libghc-unix-compat-dev libghc-hslogger-dev; fi
cabal build
$(MAKE) tags
-dist/setup-config:
+dist/setup-config: propellor.cabal
cabal configure
clean: