summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fcee0734..496b43e0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
-build: dist/setup-config
+build: deps 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
+deps:
+ 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
+
dist/setup-config: propellor.cabal
cabal configure