[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Fri, 26 Jul 2024 09:44:09 -0400 (EDT) |
branch: master
commit 287d5fef3c243d8fb462b4740b5da6fe0e4e15e4
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Jul 26 15:43:58 2024 +0200
* doc/Makefile.am (MAINTAINERCLEANFILES): set generated Texinfo files
as MAINTAINERCLEANFILES.
* tp/Texinfo/XS/Makefile.am (MAINTAINERCLEANFILES): set generated
source files as MAINTAINERCLEANFILES.
---
ChangeLog | 8 ++++++++
doc/Makefile.am | 2 ++
tp/Texinfo/XS/Makefile.am | 16 ++++++++++++++++
3 files changed, 26 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 90c75403af..ecc5561b92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-07-26 Patrice Dumas <pertusus@free.fr>
+
+ * doc/Makefile.am (MAINTAINERCLEANFILES): set generated Texinfo files
+ as MAINTAINERCLEANFILES.
+
+ * tp/Texinfo/XS/Makefile.am (MAINTAINERCLEANFILES): set generated
+ source files as MAINTAINERCLEANFILES.
+
2024-07-26 Patrice Dumas <pertusus@free.fr>
* doc/tp_api/Makefile.am (DISTCLEANFILES, dist-info): do not
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 8d19470a2c..25b4e2c8e4 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -97,6 +97,8 @@ install-tex:
# Do not create info files for distribution.
dist-info:
+MAINTAINERCLEANFILES = pod2texi.texi html_default_commands_args.texi
+
# Rules for updating the online web pages for the documentation
# using the gendocs.sh script; see
# http://www.gnu.org/prep/maintain/html_node/Invoking-gendocs_002esh.html
diff --git a/tp/Texinfo/XS/Makefile.am b/tp/Texinfo/XS/Makefile.am
index 2aaa8dca36..fd9dd59444 100644
--- a/tp/Texinfo/XS/Makefile.am
+++ b/tp/Texinfo/XS/Makefile.am
@@ -16,6 +16,8 @@ EXTRA_DIST=
CLEANFILES =
+MAINTAINERCLEANFILES =
+
######################## Gnulib ################################
AM_CPPFLAGS = -I$(srcdir)
@@ -239,12 +241,19 @@ $(srcdir)/main/element_types.c
$(srcdir)/main/element_types.h: main/element_type
$(GAWK) -v srcdir=$(srcdir)/main -f $(srcdir)/main/element_types.awk \
$(srcdir)/main/element_types.txt
+MAINTAINERCLEANFILES += main/element_types.c main/element_types.h
+
TXI_MODULES_ENV = srcdir="$(srcdir)"; export srcdir;
$(srcdir)/main/command_data.c $(srcdir)/main/command_ids.h
$(srcdir)/main/global_multi_commands_case.c
$(srcdir)/main/global_unique_commands_case.c
$(srcdir)/main/global_commands_types.h: ../command_data.txt
main/command_data.awk
$(GAWK) -v srcdir=$(srcdir)/main -f $(srcdir)/main/command_data.awk \
$(srcdir)/../command_data.txt
+MAINTAINERCLEANFILES += main/command_data.c main/command_ids.h
+MAINTAINERCLEANFILES += main/global_multi_commands_case.c \
+ main/global_unique_commands_case.c
+MAINTAINERCLEANFILES += main/global_commands_types.h
+
# NOTE duplicate of a rule in ../../Makefile.am
$(srcdir)/../Commands.pm: ../command_data.txt
$(PERL) $(srcdir)/../../maintain/regenerate_commands_perl_info.pl
$(srcdir)/../Commands.pm < $(srcdir)/../command_data.txt
@@ -262,10 +271,15 @@ $(srcdir)/main/cmd_normalization.c
$(srcdir)/main/cmd_unicode.c $(srcdir)/main/c
$(srcdir)/main/cmd_symbol.c \
$(srcdir)/main/cmd_text.c
+MAINTAINERCLEANFILES += main/cmd_normalization.c main/cmd_unicode.c \
+ main/cmd_structuring.c main/cmd_symbol.c main/cmd_text.c
+
$(srcdir)/main/accent_tables_8bit_codepoints.c:
$(srcdir)/../../maintain/setup_accent_tables.pl
$(TXI_MODULES_ENV) $(PERL)
$(srcdir)/../../maintain/setup_accent_tables.pl \
$(srcdir)/main/accent_tables_8bit_codepoints.c
+MAINTAINERCLEANFILES += main/accent_tables_8bit_codepoints.c
+
$(srcdir)/main/options_init_free.c $(srcdir)/main/options_types.h
$(srcdir)/main/options_get_perl.c: ../options_data.txt main/command_data.c
$(srcdir)/../../maintain/regenerate_C_options_info.pl
$(PERL) $(srcdir)/../../maintain/regenerate_C_options_info.pl \
< $(srcdir)/../options_data.txt \
@@ -274,6 +288,8 @@ $(srcdir)/main/options_init_free.c
$(srcdir)/main/options_types.h $(srcdir)/main
$(srcdir)/main/options_types.h \
$(srcdir)/main/options_get_perl.c
+MAINTAINERCLEANFILES += main/options_init_free.c main/options_types.h \
+ main/options_get_perl.c
########################## shared perl XS library for texinfo XS codes
# it is separate from libtexinfo because of different dependencies