From 41d7fdbd604ebb28a9ba01ba1662c70e9d72135c Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Thu, 24 Dec 2020 19:07:38 -0500 Subject: use the install command to install --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3