add install target to Makefile and corresponding prefix variable to config.mk
This commit is contained in:
parent
44ef698d6e
commit
9578816487
5
Makefile
5
Makefile
@ -33,5 +33,10 @@ dwl: xdg-shell-protocol.o
|
||||
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
|
||||
|
||||
.DEFAULT_GOAL=dwl
|
||||
.PHONY: clean
|
||||
|
Loading…
Reference in New Issue
Block a user