~kris/suckless

st

ref: 12c84d69c3f837baccd98091ee986a6f77e6fcf9 st/Makefile.rej -rw-r--r-- 499 bytes
12c84d69 — siduck76 Update config.h 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile
+++ 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