summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-12 21:40:27 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-08-12 21:40:27 +0200
commitf1758c25358a54bfbc354185829292c011620125 (patch)
tree9c5b90f0a3d7698a5a808c895253c41a5c315bff /Makefile
parentd98130c927f2a78d83ed7e16ad0faf6c3e4ec398 (diff)
Apply desktopentry patch
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f5b647f..ec2781d 100644
--- a/Makefile
+++ b/Makefile
@@ -46,9 +46,12 @@ install: st
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
tic -sx st.info
@echo Please see the README file regarding the terminfo entry of st.
+ mkdir -p $(DESTDIR)$(PREFIX)/share/applications
+ cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
+ rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop
.PHONY: all options clean dist install uninstall