commit 5fe3ac4e68e9c5402fcfdef1f197772c45878e23
parent 5dc4de714bb30b7dcf2cee7ad06dd8ea25e7febb
Author: Cem Keylan <cem@ckyln.com>
Date: Tue, 22 Oct 2019 14:41:43 +0300
add destdir to desktop entry
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -49,11 +49,11 @@ 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.
- cp -f st.desktop /usr/share/applications
+ cp -f st.desktop $(DESTDIR)/usr/share/applications
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/st
rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1
- rm -f /usr/share/applications/st.desktop
+ rm -f $(DESTDIR)/usr/share/applications/st.desktop
.PHONY: all options clean dist install uninstall