From 1a3df3652fcb24aa33467a0a6c2fdb6f3c43d63b Mon Sep 17 00:00:00 2001 From: aleks Date: Wed, 27 May 2020 01:35:15 +0200 Subject: Create a desktop-entry for st Creates a desktop-entry for st. This enables to find st in a graphical menu and to display it with a nice icon. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 470ac86..5152b8b 100644 --- a/Makefile +++ b/Makefile @@ -49,9 +49,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 -- cgit v1.2.3