Update README with new Meson instructions

This commit is contained in:
Romain Failliot 2020-08-11 13:46:56 -04:00
parent 750d5a668b
commit 942c20e4c1
1 changed files with 12 additions and 7 deletions

View File

@ -53,15 +53,20 @@ fixed by removing the offending lines (or the entire file) from
## Installing on POSIX systems ## Installing on POSIX systems
Run the `install.py` script to install Diffuse. The script accepts several Diffuse build system is meson.
options for customising the installation behaviour. Use the `--help` option
to obtain a full listing.
Diffuse can be removed by running the `install.py` script with the `--remove` To install diffuse locally:
option.
Specify the `--destdir=` and `--files-only` options for the `install.py` meson builddir
script when using it to build a platform specific package of Diffuse. meson install -C builddir
To uninstall diffuse afterwards:
sudo ninja uninstall -C builddir
sudo rm -v /usr/local/share/locale/*/LC_MESSAGES/diffuse.mo
Meson allows to change the default installation directories, see
[command-line documentation](https://mesonbuild.com/Commands.html#configure).
## Installing on Windows ## Installing on Windows