[gtk-doc] fixxref: restore the %s for the output file.



commit 023792b001890a1eb7e71c16029acf7b63c7b285
Author: Stefan Sauer <ensonic users sf net>
Date:   Mon Dec 18 16:00:51 2017 +0100

    fixxref: restore the %s for the output file.
    
    Apparently this is not as widely used, since no one noticed this for a bit.
    See https://bugzilla.gnome.org/show_bug.cgi?id=787495

 gtkdoc/fixxref.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc/fixxref.py b/gtkdoc/fixxref.py
index c5a8979..e97001d 100755
--- a/gtkdoc/fixxref.py
+++ b/gtkdoc/fixxref.py
@@ -371,7 +371,7 @@ def HighlightSourceVim(options, type, source):
 
         # format source
         # TODO(ensonic): use p.communicate()
-        script = "echo 'let html_number_lines=0|let html_use_css=1|let html_use_xhtml=1|e %s|syn on|set 
syntax=%s|run! plugin/tohtml.vim|run! syntax/2html.vim|w! out.html|qa!' | " % (
+        script = "echo 'let html_number_lines=0|let html_use_css=1|let html_use_xhtml=1|e %s|syn on|set 
syntax=%s|run! plugin/tohtml.vim|run! syntax/2html.vim|w! %s.html|qa!' | " % (
             temp_source_file, options.src_lang, temp_source_file)
         script += "%s -n -e -u NONE -T xterm >/dev/null" % config.highlight
         subprocess.check_call([script], shell=True)


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