]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - catalog/meson.build
Merge pull request #16624 from keszybz/timesync-retry-interval
[thirdparty/systemd.git] / catalog / meson.build
index 3e61e6fc5b4d38ce7c453d49a26796b9263e35af..3db8e390f2a631fde7531de301f4dcd5cbf19efb 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
 in_files = '''
         systemd.bg.catalog
         systemd.be.catalog
@@ -15,7 +17,6 @@ in_files = '''
 
 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(
@@ -27,3 +28,7 @@ foreach file : in_files
                 install : true,
                 install_dir : catalogdir)
 endforeach
+
+meson.add_install_script('sh', '-c',
+                         'test -n "$DESTDIR" || @0@/journalctl --update-catalog'
+                         .format(rootbindir))