]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: drop LINUGAS sorting rule
authorJán Tomko <jtomko@redhat.com>
Thu, 20 Oct 2022 13:04:11 +0000 (15:04 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 20 Oct 2022 13:35:34 +0000 (15:35 +0200)
A recent merge request from Weblate adding a new file fails syntax-check
because it adds a new language at the end of LINGUAS, instead of sorting
it alphabetically. Rather than trying to work around it, drop this
pointless rule.

Reverts: 8d160b7979ad2f5dcac79ffe85f79e5c3ae330d6
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
build-aux/syntax-check.mk

index e35c2be73424ad1933e7018e0cd0b197a849bc07..68cd9dff5f0afa313b2df666b3a73c71f06e5ee7 100644 (file)
@@ -1257,14 +1257,6 @@ sc_po_check:
          rm -f $@-1 $@-2; \
        fi
 
-linguas_file = $(top_srcdir)/po/LINGUAS
-
-sc_linguas_sorting:
-       @sort -u $(linguas_file) > $@-1; \
-       diff -u -L $(linguas_file) -L $(linguas_file) $(linguas_file) $@-1 \
-         || { echo "$(linguas_file) is not sorted correctly" 1>&2; exit 1; }; \
-       rm -f $@-1
-
 # #if WITH_... will evaluate to false for any non numeric string.
 # That would be flagged by using -Wundef, however gnulib currently
 # tests many undefined macros, and so we can't enable that option.