use the install command to install

This commit is contained in:
Devin J. Pohly 2020-12-24 19:07:38 -05:00
parent 8dd99d2a10
commit 41d7fdbd60

View file

@ -34,9 +34,7 @@ clean:
rm -f dwl *.o xdg-shell-protocol.h xdg-shell-protocol.c rm -f dwl *.o xdg-shell-protocol.h xdg-shell-protocol.c
install: dwl install: dwl
mkdir -p $(PREFIX)/bin install -D dwl $(PREFIX)/bin/dwl
cp -f dwl $(PREFIX)/bin
chmod 755 $(PREFIX)/bin/dwl
.DEFAULT_GOAL=dwl .DEFAULT_GOAL=dwl
.PHONY: clean .PHONY: clean