summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authormonosans <[email protected]>2022-09-26 08:03:12 +0000
committerGitHub <[email protected]>2022-09-26 10:03:12 +0200
commit1ac17a493705d150cb4b92ca7e33fb98b51de4c7 (patch)
tree11ec4629ed808a9116e64aa279e713917a87e297 /Makefile
parent82a127630d4af24b587a575df50c564705c93e27 (diff)
downloaddwm-flexipatch-1ac17a493705d150cb4b92ca7e33fb98b51de4c7.tar.gz
dwm-flexipatch-1ac17a493705d150cb4b92ca7e33fb98b51de4c7.zip
Add dwm.desktop file (#301)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c2ea8df..01ea136 100644
--- a/Makefile
+++ b/Makefile
@@ -65,9 +65,13 @@ endif
mkdir -p ${DESTDIR}${MANPREFIX}/man1
sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
+ mkdir -p ${DESTDIR}${PREFIX}/share/xsession
+ cp -n dwm.desktop ${DESTDIR}${PREFIX}/share/xsession
+ chmod 644 ${DESTDIR}${PREFIX}/share/xsession/dwm.desktop
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/dwm\
- ${DESTDIR}${MANPREFIX}/man1/dwm.1
+ ${DESTDIR}${MANPREFIX}/man1/dwm.1\
+ ${DESTDIR}${PREFIX}/share/xsession/dwm.desktop
.PHONY: all options clean dist install uninstall