[libvirt PATCH v2 5/7] syntax-check: Don't exclude src/false.c from sc_po_check

Andrea Bolognani abologna at redhat.com
Wed May 18 09:52:43 UTC 2022


This is something that certainly made sense in the context of
gnulib, but we don't have a use for it.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 build-aux/syntax-check.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk
index 35c819ff98..513c147cec 100644
--- a/build-aux/syntax-check.mk
+++ b/build-aux/syntax-check.mk
@@ -1490,8 +1490,7 @@ _gl_translatable_string_re ?= \b(N?_|gettext *)\([^)"]*("|$$)
 # sc_po_check can fail if generated files are not built first
 sc_po_check:
 	@if test -f $(po_file); then					\
-	  $(GREP) -E -v '^(#|$$)' $(po_file)				\
-	    | $(GREP) -v '^src/false\.c$$' | sort > $@-1;		\
+	  $(GREP) -E -v '^(#|$$)' $(po_file) | sort > $@-1; \
 	  { $(VC_LIST_EXCEPT); echo $(generated_files); }		\
 	    | xargs perl $(perl_translatable_files_list_)		\
 	    | xargs $(GREP) -E -l '$(_gl_translatable_string_re)'	\
-- 
2.35.3



More information about the libvir-list mailing list