summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarcelo Lira <setanta@gmail.com>2025-03-02 03:06:16 -0300
committerMarcelo Lira <setanta@gmail.com>2025-03-02 08:31:07 -0300
commitad7b2dc63b12577f1c67c998490f11a488f60e7e (patch)
tree3dca27c8593d1d0d0e3f783b32fbd1dcec928a3e /Makefile
parent6fc6b4a47ab27f191acda7572b3f9082dbbe4b6c (diff)
Desktop entry patch
https://st.suckless.org/patches/desktopentry/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 15db421..4158da2 100644
--- a/Makefile
+++ b/Makefile
@@ -43,9 +43,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)$(APPPREFIX)
+ cp -f st.desktop $(DESTDIR)$(APPPREFIX)
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
+ rm -f $(DESTDIR)$(APPPREFIX)/st.desktop
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
.PHONY: all clean dist install uninstall