Skip to contentSkip to conversation

qemu-doc: include version number

PATCH In review Paolo Bonzini 2 participants 3 messages Jun 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-doc: include version number

---
 qemu-doc.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
qemu-doc.texi +2 -1
index 965ba5929e..8e5c4a951f 100644
@@ -1,6 +1,7 @@
 \input texinfo @c -*- texinfo -*-
 @c %**start of header
 @setfilename qemu-doc.info
+@include version.texi
 
 @documentlanguage en
 @documentencoding UTF-8
@@ -19,7 +20,7 @@
 @iftex
 @titlepage
 @sp 7
-@center @titlefont{QEMU Emulator}
+@center @titlefont{QEMU version @value{VERSION}}
 @sp 1
 @center @titlefont{User Documentation}
 @sp 3
Signature · 1 line
2.13.0
#1 lore raw
Quoted 27 lines · Paolo Bonzini
---
 qemu-doc.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
qemu-doc.texi +2 -2
index 965ba5929e..8e5c4a951f 100644
@@ -1,6 +1,7 @@
 \input texinfo @c -*- texinfo -*-
 @c %**start of header
 @setfilename qemu-doc.info
+@include version.texi
 
 @documentlanguage en
 @documentencoding UTF-8
@@ -19,7 +20,7 @@
 @iftex
 @titlepage
 @sp 7
-@center @titlefont{QEMU Emulator}
+@center @titlefont{QEMU version @value{VERSION}}
 @sp 1
 @center @titlefont{User Documentation}
 @sp 3
--
Quoted 1 line

2.13.0

I think you also now need to make the qemu-doc.* files depend on version.texi (as we do already for qemu-ga-ref.* and qemu-qmp-ref.*) (If we plan to make the other docs also use version.texi, this might be best done by reverting some of commit bd7f97479687.)

thanks
-- PMM

#2 lore raw
Quoted 26 lines · Peter Maydell
Quoted 25 lines · Paolo Bonzini
---
 qemu-doc.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
qemu-doc.texi +2 -1
index 965ba5929e..8e5c4a951f 100644
@@ -1,6 +1,7 @@
 \input texinfo @c -*- texinfo -*-
 @c %**start of header
 @setfilename qemu-doc.info
+@include version.texi
 
 @documentlanguage en
 @documentencoding UTF-8
@@ -19,7 +20,7 @@
 @iftex
 @titlepage
 @sp 7
-@center @titlefont{QEMU Emulator}
+@center @titlefont{QEMU version @value{VERSION}}
 @sp 1
 @center @titlefont{User Documentation}
Quoted 8 lines
Quoted 3 lines
qemu-doc.texi +0 -1
 @sp 3
--

2.13.0

I think you also now need to make the qemu-doc.* files depend on version.texi (as we do already for qemu-ga-ref.* and qemu-qmp-ref.*) (If we plan to make the other docs also use version.texi, this might be best done by reverting some of commit bd7f97479687.)

Indeed, so I'll make a two-patch series with this and "docs: create interop/ subdirectory".

Paolo