texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Wed, 28 Aug 2024 14:30:59 -0400 (EDT)

branch: release/7.1
commit e1ba5b2d5e52652ab1c224cd5c14e68915fb95e0
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Aug 28 17:37:46 2024 +0100

    * man/Makefile.am (generated_mans, MAINTAINERCLEANFILES): distinguish
    generated man pages in generated_mans variable and
    MAINTAINERCLEANFILES, manually written man pages should not be
    cleaned.
---
 ChangeLog       |  7 +++++++
 man/Makefile.am | 20 +++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f833dfc3ce..c27a48c7dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-10-22  Patrice Dumas  <pertusus@free.fr>
+
+       * man/Makefile.am (generated_mans, MAINTAINERCLEANFILES): distinguish
+       generated man pages in generated_mans variable and
+       MAINTAINERCLEANFILES, manually written man pages should not be
+       cleaned.
+
 2024-08-27  Gavin Smith <gavinsmith0123@gmail.com>
 
        texi2any_internals.texi build fixes
diff --git a/man/Makefile.am b/man/Makefile.am
index eea56dd2a0..353cd6441f 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -10,31 +10,33 @@
 # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
+# These are hand-written.
+man_MANS = info.5 texinfo.5
+
+# These are just .so's to the common program.
+man_MANS += texi2any.1 texi2pdf.1 pdftexi2dvi.1
+
 # These are generated using help2man.
-man_MANS = install-info.1 makeinfo.1 texindex.1 texi2dvi.1
+generated_mans = install-info.1 makeinfo.1 texindex.1 texi2dvi.1
 
 # These require the build in info/, thus can't do if we failed to find a
 # terminal library.
 if HAVE_TERMLIBS
-man_MANS += info.1
+generated_mans += info.1
 endif
 
-# These are hand-written.
-man_MANS += info.5 texinfo.5
-
-man_MANS += pod2texi.1
+generated_mans += pod2texi.1
 
 $(srcdir)/pod2texi.1: $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl
        $(POD2MAN) $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl >"$@"
 
 
-# These are just .so's to the common program.
-man_MANS += texi2any.1 texi2pdf.1 pdftexi2dvi.1
+man_MANS += $(generated_mans)
 
 EXTRA_DIST = $(man_MANS) ginfo.h2m
 
 # Maintainers should be able to regenerate.
-MAINTAINERCLEANFILES = $(man_MANS)
+MAINTAINERCLEANFILES = $(generated_mans)
 
 # 
 # Use the programs built in our distribution, taking account of possible



reply via email to

[Prev in Thread] Current Thread [Next in Thread]