aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-16 15:43:50 +0200
committerMateja <mail@matejamaric.com>2021-04-16 16:01:13 +0200
commitdc8b55278720168a2c83b7722ee3208f2c808fd1 (patch)
tree42593be3880c8f2d135cd2d63553b1680bf8dc1e /Makefile
parent114fe4d2f75c352a545d614c6b1d48832bf2b41d (diff)
downloaddwm-dc8b55278720168a2c83b7722ee3208f2c808fd1.tar.gz
dwm-dc8b55278720168a2c83b7722ee3208f2c808fd1.zip
Add `.desktop` file for display managers.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 77bcbc0..b3dbe1e 100644
--- a/Makefile
+++ b/Makefile
@@ -43,9 +43,11 @@ install: all
mkdir -p ${DESTDIR}${MANPREFIX}/man1
sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
+ cp -f dwm.desktop /usr/share/xsessions/
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
${DESTDIR}${MANPREFIX}/man1/dwm.1
+ rm -f /usr/share/xsessions/dwm.desktop
.PHONY: all options clean dist install uninstall