aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-12-24 19:07:38 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-12-24 19:07:38 -0500
commit41d7fdbd604ebb28a9ba01ba1662c70e9d72135c (patch)
tree15c4a5722b2cf71be2ca9ea82ff4d754a8ed4809 /Makefile
parent8dd99d2a1030d9485919362b078853c74eb183aa (diff)
use the install command to install
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 16428ff..b34b909 100644
--- a/Makefile
+++ b/Makefile
@@ -34,9 +34,7 @@ clean:
rm -f dwl *.o xdg-shell-protocol.h xdg-shell-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