From b1f21edcec82c25cbd6b59b521a841f86fb1f327 Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Sun, 30 Mar 2025 15:20:05 +0200 Subject: Initial support for meson Mostly copy and paste from linuxmint/xreader Signed-off-by: Oz Tiram --- install-scripts/meson.build | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 install-scripts/meson.build (limited to 'install-scripts/meson.build') diff --git a/install-scripts/meson.build b/install-scripts/meson.build new file mode 100644 index 00000000..e27404dd --- /dev/null +++ b/install-scripts/meson.build @@ -0,0 +1,21 @@ +# These scripts run as post-installation scripts. + +# They're designed to do nothing if DESTDIR is set, which happens +# during debian builds for instance - there's a fake install target +# so running these would be pointless. + +# When using deb packaging, these aren't needed, as these operations +# are run automatically by the package manager. + +# They're really only necessary in straight builds where 'ninja install' +# will be run directly, to install the program onto the system. + + +# Re-compile gsettings +meson.add_install_script('meson_install_schemas.py') + +# Update mime info +meson.add_install_script('meson_update_mime_database.py') + +# Update the Gtk icon cache +meson.add_install_script('meson_update_icon_cache.py') -- cgit v1.2.1