From: Zbigniew Jędrzejewski-Szmek Date: Sun, 24 May 2026 11:28:58 +0000 (+0200) Subject: po: "detect" msgmerge-nofuzzy using file() X-Git-Tag: v261-rc2~43 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=997ce3a3c01494ae08327fa89fe1079fd9c5dd1c;p=thirdparty%2Fsystemd.git po: "detect" msgmerge-nofuzzy using file() With find_program, meson verbosely reports the detection of the file, which we don't need since it's part of the repo and always present. --- diff --git a/po/meson.build b/po/meson.build index 682c16ab118..a1d3a5edc12 100644 --- a/po/meson.build +++ b/po/meson.build @@ -5,9 +5,7 @@ want_translations = get_option('translations') if want_translations # The msgmerge invocation hidden behind i18n.gettext()'s update-po target inserts auto-guessed # "fuzzy" translations for new strings, which are almost always wrong, use a wrapper to skip it. - meson.override_find_program( - 'msgmerge', - find_program('../tools/msgmerge-no-fuzzy.py')) + meson.override_find_program('msgmerge', msgmerge_no_fuzzy_py) i18n = import('i18n') i18n.gettext(meson.project_name(), diff --git a/tools/meson.build b/tools/meson.build index e8b3133d9c8..49ceac9ca6c 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -17,6 +17,7 @@ make_man_index_py = files('make-man-index.py') meson_build_sh = files('meson-build.sh') meson_extract_unit_files_py = files('meson-extract-unit-files.py') meson_render_jinja2_py = files('meson-render-jinja2.py') +msgmerge_no_fuzzy_py = files('msgmerge-no-fuzzy.py') sync_docs_py = files('sync-docs.py') update_dbus_docs_py = files('update-dbus-docs.py') update_hwdb_autosuspend_sh = files('update-hwdb-autosuspend.sh')