+# SPDX-License-Identifier: LGPL-2.1+
+
in_files = '''
systemd.bg.catalog
systemd.be.catalog
support_url = get_option('support-url')
support_sed = 's~%SUPPORT_URL%~@0@~'.format(support_url)
-build_catalog_dir = meson.current_build_dir()
foreach file : in_files
custom_target(
install : true,
install_dir : catalogdir)
endforeach
+
+meson.add_install_script('sh', '-c',
+ 'test -n "$DESTDIR" || @0@/journalctl --update-catalog'
+ .format(rootbindir))