commit 41d7fdbd604ebb28a9ba01ba1662c70e9d72135c
parent 8dd99d2a1030d9485919362b078853c74eb183aa
Author: Devin J. Pohly <djpohly@gmail.com>
Date: Thu, 24 Dec 2020 19:07:38 -0500
use the install command to install
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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