changeset 18401:1500ae1a1bea stable

__makeinfo__.m: Fix generating HTML output with Texinfo 5.2 (bug #41364). * __makeinfo__.m: Add option "--output=-" so that file input will be sent to stdout rather than re-written in-place which is the new default for 5.2.
author Rik <rik@octave.org>
date Mon, 27 Jan 2014 09:18:36 -0800
parents e0b96a751afc
children 5b88b2cb431e
files scripts/help/__makeinfo__.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/help/__makeinfo__.m	Sun Jan 26 15:25:27 2014 -0500
+++ b/scripts/help/__makeinfo__.m	Mon Jan 27 09:18:36 2014 -0800
@@ -129,10 +129,10 @@
     ## Take action depending on output type
     switch (lower (output_type))
       case "plain text"
-        cmd = sprintf ("%s --no-headers --no-warn --force --no-validate %s",
+        cmd = sprintf ("%s --no-headers --no-warn --force --no-validate --output=- %s",
                        makeinfo_program (), name);
       case "html"
-        cmd = sprintf ("%s --no-headers --html --no-warn --no-validate --force %s",
+        cmd = sprintf ("%s --no-headers --html --no-warn --no-validate --force --output=- %s",
                        makeinfo_program (), name);
       otherwise
         error ("__makeinfo__: unsupported output type: '%s'", output_type);