summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-01-12 09:46:54 +0100
committerThomas Haller <thaller@redhat.com>2018-01-12 09:51:12 +0100
commitbe13c75a3c9799fca48420106bb8c4e5a5370c3f (patch)
treec202cf86235014f152cb3044a93950f7e5458e76
parent2f85fe0adf4cb33a79697705b20be54f058da783 (diff)
downloadNetworkManager-be13c75a3c9799fca48420106bb8c4e5a5370c3f.tar.gz
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.
-rw-r--r--po/POTFILES.skip3
1 files changed, 3 insertions, 0 deletions
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