split install command

This commit is contained in:
daa84 2017-04-27 17:37:07 +03:00
parent 389f47738e
commit d335d550a5

View File

@ -6,9 +6,11 @@ test:
run: run:
RUST_BACKTRACE=1 cargo run RUST_BACKTRACE=1 cargo run
install: install: install-resources
mkdir -p $(PREFIX)/bin/ mkdir -p $(PREFIX)/bin/
cp target/release/nvim-gtk $(PREFIX)/bin/ cp target/release/nvim-gtk $(PREFIX)/bin/
install-resources:
mkdir -p $(PREFIX)/share/applications/ mkdir -p $(PREFIX)/share/applications/
cp desktop/nvim-gtk.desktop $(PREFIX)/share/applications/ cp desktop/nvim-gtk.desktop $(PREFIX)/share/applications/
mkdir -p $(PREFIX)/share/icons/hicolor/128x128/apps/ mkdir -p $(PREFIX)/share/icons/hicolor/128x128/apps/