[RFCv3 05/25] build-aux: Only check *.[ch] for sc_prohibit_useless_translation

Shi Lei shi_lei at massclouds.com
Thu Apr 22 07:25:13 UTC 2021


Signed-off-by: Shi Lei <shi_lei at massclouds.com>
---
 build-aux/syntax-check.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk
index 552d6391..614f21bc 100644
--- a/build-aux/syntax-check.mk
+++ b/build-aux/syntax-check.mk
@@ -735,7 +735,7 @@ sc_prohibit_useless_translation:
 	halt='found useless translation' \
 	  $(_sc_search_regexp)
 	@prohibit='\<N?_ *\(' \
-	in_vc_files='(tests|examples)/' \
+	in_vc_files='(tests|examples)/.*\.[ch]$$' \
 	halt='no translations in tests or examples' \
 	  $(_sc_search_regexp)
 
-- 
2.25.1





More information about the libvir-list mailing list