]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
syntax-check: Don't exclude src/false.c from sc_po_check
authorAndrea Bolognani <abologna@redhat.com>
Mon, 16 May 2022 15:00:13 +0000 (17:00 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 23 May 2022 11:58:26 +0000 (13:58 +0200)
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>
build-aux/syntax-check.mk

index 35c819ff98a91218294a897287f3924786cf8f51..513c147cec2c8bd5987ece43b684aa6cbbcf921f 100644 (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:
        @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)'       \