summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2014-03-30 02:44:40 -0400
committerJoey Hess2014-03-30 02:44:40 -0400
commit49231c74a1449c7f8c4c07fdafdf4e0b2d51400b (patch)
tree503a2ed3a3dbeeb32db39777ff0601c3873e319a /Makefile
parentc4afc9c90f9016b3ecfa96193c531c73ccbdeae4 (diff)
foo
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: