[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Sun, 22 Oct 2023 17:37:59 -0400 (EDT) |
branch: master
commit 076222c3a06f562fb8b9bfa1de61415deb381c41
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Oct 22 23:28:22 2023 +0200
* 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 658dfd5a49..98a2fc8f27 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.
+
2023-10-22 Patrice Dumas <pertusus@free.fr>
update po files
diff --git a/man/Makefile.am b/man/Makefile.am
index f0bdb5a539..99cf09504a 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -10,32 +10,34 @@
# 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
pod2texi.1: $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl
$(POD2MAN) -r perl $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl \
| sed 's/\(Automatically generated by Pod::Man \).* \((Pod::Simple\)
.*)/\1\2)/' >"$@"
-# 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