summaryrefslogtreecommitdiff
path: root/dwl/Makefile
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2023-10-21 16:02:23 +0200
committertslil clingman <tslil@posteo.de>2023-10-21 16:02:23 +0200
commit4e7f0d014f4b1ffc2b0a302e64c19e440c6bbe68 (patch)
tree16787ca463e90aa5e872322d9229c8f84b7e7ea9 /dwl/Makefile
parent8607fd0b5d3cb9efcd4bd805321128713823271d (diff)
[dwl] merge changes from upstream
Diffstat (limited to 'dwl/Makefile')
-rw-r--r--dwl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/dwl/Makefile b/dwl/Makefile
index ccca079..5320e42 100644
--- a/dwl/Makefile
+++ b/dwl/Makefile
@@ -40,7 +40,7 @@ clean:
dist: clean
mkdir -p dwl-$(VERSION)
cp -R LICENSE* Makefile README.md client.h config.def.h\
- config.mk protocols dwl.1 dwl.c util.c util.h\
+ config.mk protocols dwl.1 dwl.c util.c util.h dwl.desktop\
dwl-$(VERSION)
tar -caf dwl-$(VERSION).tar.gz dwl-$(VERSION)
rm -rf dwl-$(VERSION)
@@ -52,8 +52,11 @@ install: dwl
mkdir -p $(DESTDIR)$(MANDIR)/man1
cp -f dwl.1 $(DESTDIR)$(MANDIR)/man1
chmod 644 $(DESTDIR)$(MANDIR)/man1/dwl.1
+ mkdir -p $(DESTDIR)$(DATADIR)/wayland-sessions
+ cp -f dwl.desktop $(DESTDIR)$(DATADIR)/wayland-sessions/dwl.desktop
+ chmod 644 $(DESTDIR)$(DATADIR)/wayland-sessions/dwl.desktop
uninstall:
- rm -f $(DESTDIR)$(PREFIX)/bin/dwl $(DESTDIR)$(MANDIR)/man1/dwl.1
+ rm -f $(DESTDIR)$(PREFIX)/bin/dwl $(DESTDIR)$(MANDIR)/man1/dwl.1 $(DESTDIR)$(DATADIR)/wayland-sessions/dwl.desktop
.SUFFIXES: .c .o
.c.o: