summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-09-24 11:44:29 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-09-24 11:44:29 -0600
commit1333f8cc6ecbe8b1d4d73c4e3453997d0e5d84f1 (patch)
tree5144cb5865418165dfae4e2c090720a10e47b1b6 /Makefile
parentd4f2c6bfd638d45736512691f06081cf314370bd (diff)
parent5baf195523934519d7659ae34ad287ca60a5654c (diff)
Merge remote-tracking branch 'upstream/main' into wlroots-next
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 63b52f0..85be3d8 100644
--- a/Makefile
+++ b/Makefile
@@ -55,8 +55,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: