mirror of
https://codeberg.org/FabricSoul/dwl.git
synced 2025-08-03 12:10:22 -04:00
add install target to Makefile and corresponding prefix variable to config.mk
This commit is contained in:
parent
feeacc88c4
commit
05883b7b2f
2 changed files with 8 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -53,5 +53,10 @@ dwl: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o idle-protocol.o
|
|||
clean:
|
||||
rm -f dwl *.o *-protocol.h *-protocol.c
|
||||
|
||||
install: dwl
|
||||
mkdir -p $(PREFIX)/bin
|
||||
cp -f dwl $(PREFIX)/bin
|
||||
chmod 755 $(PREFIX)/bin/dwl
|
||||
|
||||
.DEFAULT_GOAL=dwl
|
||||
.PHONY: clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue