[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Tue, 1 Oct 2024 16:42:12 -0400 (EDT) |
branch: master
commit 827256081831ae8af1de985ec9ef1b88784f30a5
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Jul 28 15:56:03 2024 +0200
* Makefile.am (po_document-check), po_document/POTFILES.in: add an
exception for main/DocumentXS.c in po_document-check, remove from
POTFILES.in.
---
ChangeLog | 6 ++++++
Makefile.am | 3 +++
po_document/POTFILES.in | 1 -
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 20a4f2f0f3..61adc0e778 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-07-28 Patrice Dumas <pertusus@free.fr>
+
+ * Makefile.am (po_document-check), po_document/POTFILES.in: add an
+ exception for main/DocumentXS.c in po_document-check, remove from
+ POTFILES.in.
+
2024-07-28 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/convert_utils.c (definition_category_tree):
diff --git a/Makefile.am b/Makefile.am
index 6672336553..6cbe4d65c5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -132,6 +132,8 @@ po-check:
rm -f $@-1 $@-2; \
fi
+# false positive in tp/Texinfo/XS/main/DocumentXS.c with function definition
+# but no translated strings
po_document-check:
@if test -f po_document/POTFILES.in; then \
grep -E -v '^(#|$$)' po_document/POTFILES.in | sort > $@-1; \
@@ -145,6 +147,7 @@ po_document-check:
texinfo-*/*) continue;; \
tp/maintain/*) continue;; \
tp/init/documentation_examples.pm) continue;; \
+ tp/Texinfo/XS/main/DocumentXS.c) continue;; \
esac; \
files="$$files $$file"; \
done; \
diff --git a/po_document/POTFILES.in b/po_document/POTFILES.in
index 5b274dc132..a3b00c64ba 100644
--- a/po_document/POTFILES.in
+++ b/po_document/POTFILES.in
@@ -24,7 +24,6 @@ tp/Texinfo/XS/convert/convert_html.c
tp/Texinfo/XS/main/convert_to_text.c
tp/Texinfo/XS/main/convert_utils.c
tp/Texinfo/XS/main/convert_utils.h
-tp/Texinfo/XS/main/DocumentXS.c
tp/Texinfo/XS/main/parser_conf.c
tp/Texinfo/XS/main/translations.c
tp/Texinfo/XS/main/translations.h