It is common, at least in GNOME projects, to have scripts that must be run only in the final destination, to update system icon cache, etc. Skipping them from Meson ensures we can properly log that they have not been run instead of relying on such scripts to to it (they don't always).pull/8278/head
parent
c491d48b9d
commit
6c6b5d77d6
5 changed files with 28 additions and 4 deletions
@ -0,0 +1,11 @@ |
||||
## Specify DESTDIR on command line |
||||
|
||||
`meson install` command now has `--destdir` argument that overrides DESTDIR |
||||
from environment. |
||||
|
||||
## Skip install scripts if DESTDIR is set |
||||
|
||||
`meson.add_install_script()` now has `skip_if_destdir` keyword argument. If set |
||||
to `true` the script won't be run if DESTDIR is set during installation. This is |
||||
useful in the case the script updates system wide cache that is only needed when |
||||
copying files into final destination. |
Loading…
Reference in new issue