Install icon - right way

This commit is contained in:
daa 2017-04-02 17:30:19 +03:00
parent 060b44fc58
commit 0350e67bb5

View File

@ -9,10 +9,8 @@ run:
install:
mkdir -p $(PREFIX)/bin/
cp target/release/nvim-gtk $(PREFIX)/bin/
mkdir -p $(PREFIX)/share/applications/
cp desktop/nvim-gtk.desktop $(PREFIX)/share/applications/
mkdir -p $(PREFIX)/share/icons/
cp desktop/nvim-gtk.png $(PREFIX)/share/icons/
xdg-desktop-menu install --novendor ./desktop/nvim-gtk.desktop
xdg-icon-resource install --novendor --size 128 ./desktop/nvim-gtk.png
mkdir -p $(PREFIX)/share/fonts/
cp -n desktop/dejavu_font/*.ttf $(PREFIX)/share/fonts/
fc-cache -fv