summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 620d287..cee8963 100644
--- a/Makefile
+++ b/Makefile
@@ -54,9 +54,7 @@ clean:
rm -f dwl *.o *-protocol.h *-protocol.c
install: dwl
- mkdir -p $(PREFIX)/bin
- cp -f dwl $(PREFIX)/bin
- chmod 755 $(PREFIX)/bin/dwl
+ install -D dwl $(PREFIX)/bin/dwl
.DEFAULT_GOAL=dwl
.PHONY: clean