[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Thu, 24 Oct 2024 11:42:39 -0400 (EDT) |
branch: master
commit ad485b27ff570c629edd7b16c78fa97b9db35062
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Oct 24 16:41:50 2024 +0100
* Makefile.am (po_document-check): Do not check in *.h files
as these only contain declarations of translation functions,
not their use.
* po_document/POTFILES.in: Remove *.h files.
---
ChangeLog | 7 +++++++
Makefile.am | 2 +-
po_document/POTFILES.in | 2 --
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4ad42ff051..f79a81bc11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-10-24 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * Makefile.am (po_document-check): Do not check in *.h files
+ as these only contain declarations of translation functions,
+ not their use.
+ * po_document/POTFILES.in: Remove *.h files.
+
2024-10-24 Gavin Smith <gavinsmith0123@gmail.com>
* po/POTFILES.in: add new files
diff --git a/Makefile.am b/Makefile.am
index dda3e9ccbf..acd2fc8dbd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -136,7 +136,7 @@ po_document-check:
@if test -f po_document/POTFILES.in; then \
grep -E -v '^(#|$$)' po_document/POTFILES.in | sort > $@-1; \
files=; \
- for file in `find [a-z]* -name '*.[ch]' \
+ for file in `find [a-z]* -name '*.c' \
-o -name '*.p[lm]'`; do \
# don't look at sources from some subdirs. \
case $$file in \
diff --git a/po_document/POTFILES.in b/po_document/POTFILES.in
index 56fd615ec9..1e5c148290 100644
--- a/po_document/POTFILES.in
+++ b/po_document/POTFILES.in
@@ -24,10 +24,8 @@ tp/Texinfo/XS/convert/convert_html.c
tp/Texinfo/XS/main/html_conversion_data.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/parser_conf.c
tp/Texinfo/XS/main/translations.c
-tp/Texinfo/XS/main/translations.h
tp/Texinfo/XS/main/utils.c
tp/Texinfo/XS/parsetexi/indices.c
tp/Texinfo/XS/structuring_transfo/structuring.c