diff options
| author | Joey Hess <joey@kitenet.net> | 2014-07-06 18:23:54 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-07-06 18:23:54 -0400 |
| commit | 40d559fbbeb35f76927366948625bb58f1c72209 (patch) | |
| tree | 35017feaeefe61548f3496cfd0016fe7ab55d68f /Makefile | |
| parent | e5dcc8e17668b3994fc8de1d53c7e48659c08aee (diff) | |
| parent | 32bb2d50a176ebb9070288a75bf86fd1c92ef0be (diff) | |
Merge branch 'joeyconfig'
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ CABAL?=cabal +DEBDEPS=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-quickcheck2-dev libghc-mtl-dev libghc-monadcatchio-transformers-dev + run: deps build ./propellor @@ -10,7 +12,7 @@ build: dist/setup-config ln -sf dist/build/propellor-config/propellor-config propellor deps: - @if [ $$(whoami) = root ]; then apt-get --no-upgrade --no-install-recommends -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-quickcheck2-dev libghc-mtl-dev libghc-monadcatchio-transformers-dev; fi || true + @if [ $$(whoami) = root ]; then apt-get --no-upgrade --no-install-recommends -y install $(DEBDEPS) || (apt-get update && apt-get --no-upgrade --no-install-recommends -y install $(DEBDEPS)); fi || true @if [ $$(whoami) = root ]; then apt-get --no-upgrade --no-install-recommends -y install libghc-async-dev || (cabal update; cabal install async); fi || true dist/setup-config: propellor.cabal |
