diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -12,9 +12,12 @@ SUBMODULES = fsmgr kiki openssh | |||
12 | 12 | ||
13 | all: samizdat-paths.sh ${compiled_programs} ${SUBMODULES} | 13 | all: samizdat-paths.sh ${compiled_programs} ${SUBMODULES} |
14 | 14 | ||
15 | .PHONY: stack | 15 | |
16 | .PHONY: stack install-stack | ||
17 | install-stack: | ||
18 | curl -sSL https://get.haskellstack.org/ | sh | ||
16 | stack: | 19 | stack: |
17 | which stack >/dev/null || curl -sSL https://get.haskellstack.org/ | sh | 20 | @which stack >/dev/null || make install-stack |
18 | 21 | ||
19 | build-deps: build-dep-stamp | 22 | build-deps: build-dep-stamp |
20 | build-dep-stamp: build-deps.txt | 23 | build-dep-stamp: build-deps.txt |