summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b146673..1ebeb15 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
1binary = fsmgr 1binary = fsmgr
2executables = ~/.local/bin/$(binary) ./selfstrap ./btrfs-shrink
2 3
3sudo := $(shell [ "$(id -u)" = 0 ] || echo sudo) 4sudo != [ "$(id -u)" = 0 ] || echo sudo
4 5
6.PHONY: build install
5build: 7build:
6 stack build 8 stack build
7 9
8executables = ~/.local/bin/$(binary) ./selfstrap ./btrfs-shrink
9
10install: build 10install: build
11 stack install 11 stack install
12 $(sudo) install $(executables) /usr/local/bin 12 $(sudo) install $(executables) /usr/local/bin