Files
neovim-gtk/Makefile

19 lines
450 B
Makefile
Raw Normal View History

PREFIX?=/usr/local
2016-03-19 13:27:39 +03:00
test:
2016-03-24 12:21:27 +03:00
RUST_BACKTRACE=1 cargo test
2016-04-03 18:13:18 +03:00
run:
RUST_BACKTRACE=1 cargo run
install:
2017-03-31 12:02:49 +03:00
mkdir -p $(PREFIX)/bin/
cp target/release/nvim-gtk $(PREFIX)/bin/
2017-03-31 12:02:49 +03:00
mkdir -p $(PREFIX)/share/applications/
cp desktop/nvim-gtk.desktop $(PREFIX)/share/applications/
2017-03-31 23:20:12 +03:00
mkdir -p $(PREFIX)/share/icons/
cp desktop/nvim-gtk.png $(PREFIX)/share/icons/
2017-03-31 12:02:49 +03:00
mkdir -p $(PREFIX)/share/fonts/
cp -n desktop/dejavu_font/*.ttf $(PREFIX)/share/fonts/
fc-cache -fv