aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFederico Igne <git@federicoigne.com>2020-05-22 21:49:18 +0100
committerFederico Igne <git@federicoigne.com>2020-05-22 21:49:18 +0100
commit10c8e2413bcd3cde4ca545b95501c19f4d011964 (patch)
tree9d99fd6fd6da3fb69f280b35f54003539ef7275c /Makefile
parent5bf570ff51b54228e8be399387f6a4928f3edbbd (diff)
downloadst-10c8e2413bcd3cde4ca545b95501c19f4d011964.tar.gz
st-10c8e2413bcd3cde4ca545b95501c19f4d011964.zip
Fix cp command for st.desktop entry
Desktop entry `st.desktop` was copied to `/usr/share/application`. If the directory does not exists (likely in a freshly installed system) it will be replaced by the desktop file. We don't want that!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1b553fb..374ec4f 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ install: st
49 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 49 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1
50 tic -sx st.info 50 tic -sx st.info
51 @echo Please see the README file regarding the terminfo entry of st. 51 @echo Please see the README file regarding the terminfo entry of st.
52 cp -f st.desktop /usr/share/applications 52 cp -f st.desktop /usr/share/applications/
53 53
54uninstall: 54uninstall:
55 rm -f $(DESTDIR)$(PREFIX)/bin/st 55 rm -f $(DESTDIR)$(PREFIX)/bin/st