build: Use meson's gnome.post_install()

... instead of the external script.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2077>
This commit is contained in:
Florian Müllner 2021-12-22 20:11:31 +01:00 committed by Marge Bot
parent daf729de11
commit 00e5f40ddd
4 changed files with 8 additions and 30 deletions

View file

@ -1 +0,0 @@
../../../../meson/postinstall.py

View file

@ -60,7 +60,9 @@ if not meson.is_subproject()
subdir('po')
meson.add_install_script('build-aux/meson/postinstall.py')
gnome.post_install(
gtk_update_icon_cache: true
)
if appstream_util.found()
meson.add_dist_script('build-aux/meson/check-version.py',