Added install support

This commit is contained in:
Scoopta 2019-12-20 22:01:56 -08:00
parent 3a88ed8f0e
commit 76cbbb751e
2 changed files with 3 additions and 3 deletions

View File

@ -15,9 +15,9 @@ If you're having issues with -i not showing images refer to https://todo.sr.ht/~
meson build
ninja -C build
## Installing
sudo cp build/wofi /usr/bin
sudo ninja -C build install
## Uninstalling
sudo rm /usr/bin/wofi
sudo ninja -C build uninstall
## Bug Reports
Please file bug reports at https://todo.sr.ht/~scoopta/wofi
## Contributing

View File

@ -24,4 +24,4 @@ executable('wofi',
'proto/wlr-layer-shell-unstable-v1-protocol.c',
'proto/xdg-shell-protocol.c',
include_directories : inc,
dependencies : [gtk, gio, threads, wayland, dl])
dependencies : [gtk, gio, threads, wayland, dl], install : true)