syntax-check: Don't exclude src/false.c from sc_po_check

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@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Andrea Bolognani 2022-05-16 17:00:13 +02:00
parent 55ae46a6df
commit bed3781a30

View File

@ -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 can fail if generated files are not built first
sc_po_check: sc_po_check:
@if test -f $(po_file); then \ @if test -f $(po_file); then \
$(GREP) -E -v '^(#|$$)' $(po_file) \ $(GREP) -E -v '^(#|$$)' $(po_file) | sort > $@-1; \
| $(GREP) -v '^src/false\.c$$' | sort > $@-1; \
{ $(VC_LIST_EXCEPT); echo $(generated_files); } \ { $(VC_LIST_EXCEPT); echo $(generated_files); } \
| xargs perl $(perl_translatable_files_list_) \ | xargs perl $(perl_translatable_files_list_) \
| xargs $(GREP) -E -l '$(_gl_translatable_string_re)' \ | xargs $(GREP) -E -l '$(_gl_translatable_string_re)' \