[PATCH 10/12] texi2pod.pl: add no-op --no-split option support [PR28144]

Mike Frysinger vapier@gentoo.org
Wed Nov 10 00:14:29 GMT 2021


From: Sergei Trofimovich <siarheit@google.com>

Change 2faf902da ("generate single html manual page by default")
added use of --no-split option to makeinfo. binutils reuses
makeinfo options for texi2pod.pl wrapper. Unsupported option
led to silent manpage truncation.

The change adds no-op option support.

etc/

	* texi2pod.pl: Handle no-op --no-split option.
---
 etc/texi2pod.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index 11f70d156bee..dcf2b437640f 100644
--- a/etc/texi2pod.pl
+++ b/etc/texi2pod.pl
@@ -59,6 +59,8 @@ while ($_ = shift) {
 	    $flag = shift;
 	}
         push (@ipath, $flag);
+    } elsif (/^--no-split$/) {
+	# ignore option for makeinfo compatibility
     } elsif (/^-/) {
 	usage();
     } else {
-- 
2.33.0



More information about the Newlib mailing list