summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoru <u@billy>2022-01-10 16:59:42 -0500
committeru <u@billy>2022-01-10 16:59:42 -0500
commit32c0a0d3b0307acd326c5415d515d79d17e0f624 (patch)
tree2b85c448efc1c6dbe256acabe65fd9977970592e
parent7ada50417d767575af33eae709c4100f7d010a53 (diff)
Makefile cleanup
-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