[newlib-cygwin] texi2pod.pl: add no-op --no-split option support [PR28144]

Michael Frysinger vapier@sourceware.org
Thu Nov 11 01:16:25 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=784020ca76dd82329580c48cdbca1fc61ceff5a4

commit 784020ca76dd82329580c48cdbca1fc61ceff5a4
Author: Sergei Trofimovich <siarheit@google.com>
Date:   Mon Jul 26 22:51:18 2021 +0100

    texi2pod.pl: add no-op --no-split option support [PR28144]
    
    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.

Diff:
---
 etc/texi2pod.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index 11f70d156..dcf2b4376 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 {


More information about the Cygwin-cvs mailing list