From be13c75a3c9799fca48420106bb8c4e5a5370c3f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 12 Jan 2018 09:46:54 +0100 Subject: [PATCH] po: skip translation for file in meson build directory Otherwise, having a meson build directory along autotools, lets `make check` fail with The following files contain translations and are currently not in use. Please consider adding these to the POTFILES.in file, located in the po/ directory. build/data/org.freedesktop.NetworkManager.policy.in If some of these files are left out on purpose then please add them to POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list of left out files has been written in the current directory. Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager if [ -r missing -o -r notexist ]; then \ exit 1; \ fi Yes, meson does not require that the build directory is named "build" and this fix only works for the default case. --- po/POTFILES.skip | 3 +++ 1 file changed, 3 insertions(+) diff --git a/po/POTFILES.skip b/po/POTFILES.skip index 9e8c9d071d..2b14042e10 100644 --- a/po/POTFILES.skip +++ b/po/POTFILES.skip @@ -10,3 +10,6 @@ shared/nm-utils/nm-vpn-editor-plugin-call.h shared/nm-utils/nm-vpn-plugin-utils.c # https://bugs.launchpad.net/intltool/+bug/1117944 sub/data/org.freedesktop.NetworkManager.policy.in + +# from meson build directory: +build/data/org.freedesktop.NetworkManager.policy.in