aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-04-09 21:38:02 +0200
committerMateja <mail@matejamaric.com>2021-04-09 21:38:02 +0200
commit4811685780bc7595949344b0b167da20fbcae9e9 (patch)
treef28b4d40e62045224aa90d7ac04c497b79113cd1 /Makefile
parentdc273f41c5d548026b4bea766c919f1e4e8a04ac (diff)
downloadst-4811685780bc7595949344b0b167da20fbcae9e9.tar.gz
st-4811685780bc7595949344b0b167da20fbcae9e9.zip
Applied `desktopentry` patch.v1.2.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6dfa212..be32361 100644
--- a/Makefile
+++ b/Makefile
@@ -50,9 +50,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