docs: create docs/interop/, include version number in qemu-doc
v2 cover docs: create docs/interop/, include version number in qemu-doc
Submitted together because of Makefile conflicts.
Paolo Bonzini (2):
docs: create interop/ subdirectory
qemu-doc: include version number
.gitignore | 16 ++---
Makefile | 72 ++++++++++++----------
configure | 2 +-
docs/{specs => interop}/parallels.txt | 0
docs/{specs => interop}/qcow2.txt | 0
docs/{specs => interop}/qed_spec.txt | 0
docs/{ => interop}/qemu-ga-ref.texi | 0
docs/{ => interop}/qemu-qmp-ref.texi | 0
docs/{ => interop}/qmp-intro.txt | 0
docs/{ => interop}/qmp-spec.txt | 0
docs/{specs => interop}/vhost-user.txt | 0
.../{ => interop}/vnc-ledstate-Pseudo-encoding.txt | 0
qemu-doc.texi | 5 +-
rules.mak | 2 +-
14 files changed, 51 insertions(+), 46 deletions(-)
rename docs/{specs => interop}/parallels.txt (100%)
rename docs/{specs => interop}/qcow2.txt (100%)
rename docs/{specs => interop}/qed_spec.txt (100%)
rename docs/{ => interop}/qemu-ga-ref.texi (100%)
rename docs/{ => interop}/qemu-qmp-ref.texi (100%)
rename docs/{ => interop}/qmp-intro.txt (100%)
rename docs/{ => interop}/qmp-spec.txt (100%)
rename docs/{specs => interop}/vhost-user.txt (100%)
rename docs/{ => interop}/vnc-ledstate-Pseudo-encoding.txt (100%)Signature · 1 line
2.13.0
PATCH v2 1/2 docs: create interop/ subdirectory
This is for the future interoperability & management guide. It includes the QAPI docs, including the automatically generated ones, other socket protocols (vhost-user, VNC), and the qcow2 file format.
Signed-off-by Paolo Bonzini <[email protected]>
---
.gitignore | 16 ++---
Makefile | 69 +++++++++++++---------
configure | 2 +-
docs/{specs => interop}/parallels.txt | 0
docs/{specs => interop}/qcow2.txt | 0
docs/{specs => interop}/qed_spec.txt | 0
docs/{ => interop}/qemu-ga-ref.texi | 0
docs/{ => interop}/qemu-qmp-ref.texi | 0
docs/{ => interop}/qmp-intro.txt | 0
docs/{ => interop}/qmp-spec.txt | 0
docs/{specs => interop}/vhost-user.txt | 0
.../{ => interop}/vnc-ledstate-Pseudo-encoding.txt | 0
rules.mak | 2 +-
13 files changed, 50 insertions(+), 39 deletions(-)
rename docs/{specs => interop}/parallels.txt (100%)
rename docs/{specs => interop}/qcow2.txt (100%)
rename docs/{specs => interop}/qed_spec.txt (100%)
rename docs/{ => interop}/qemu-ga-ref.texi (100%)
rename docs/{ => interop}/qemu-qmp-ref.texi (100%)
rename docs/{ => interop}/qmp-intro.txt (100%)
rename docs/{ => interop}/qmp-spec.txt (100%)
rename docs/{specs => interop}/vhost-user.txt (100%)
rename docs/{ => interop}/vnc-ledstate-Pseudo-encoding.txt (100%).gitignore +8 -8
@@ -99,14 +99,14 @@ /pc-bios/optionrom/kvmvapic.img /pc-bios/s390-ccw/s390-ccw.elf /pc-bios/s390-ccw/s390-ccw.img -/docs/qemu-ga-qapi.texi -/docs/qemu-ga-ref.html -/docs/qemu-ga-ref.info* -/docs/qemu-ga-ref.txt -/docs/qemu-qmp-qapi.texi -/docs/qemu-qmp-ref.html -/docs/qemu-qmp-ref.info* -/docs/qemu-qmp-ref.txt +/docs/interop/qemu-ga-qapi.texi +/docs/interop/qemu-ga-ref.html +/docs/interop/qemu-ga-ref.info* +/docs/interop/qemu-ga-ref.txt +/docs/interop/qemu-qmp-qapi.texi +/docs/interop/qemu-qmp-ref.html +/docs/interop/qemu-qmp-ref.info* +/docs/interop/qemu-qmp-ref.txt /docs/version.texi *.tps .stgit-*
Makefile +40 -29
132 lines not on this page · raw message
configure +1 -1
@@ -6365,7 +6365,7 @@ fi # build tree in object directory in case the source is not in the current directory DIRS="tests tests/tcg tests/tcg/cris tests/tcg/lm32 tests/libqos tests/qapi-schema tests/tcg/xtensa tests/qemu-iotests" -DIRS="$DIRS docs fsdev" +DIRS="$DIRS docs docs/interop fsdev" DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas pc-bios/s390-ccw" DIRS="$DIRS roms/seabios roms/vgabios" DIRS="$DIRS qapi-generated"
docs/interop/parallels.txt renamed from docs/specs/parallels.txt +0 -0
docs/interop/qcow2.txt renamed from docs/specs/qcow2.txt +0 -0
docs/interop/qed_spec.txt renamed from docs/specs/qed_spec.txt +0 -0
docs/interop/qemu-ga-ref.texi renamed from docs/qemu-ga-ref.texi +0 -0
docs/interop/qemu-qmp-ref.texi renamed from docs/qemu-qmp-ref.texi +0 -0
docs/interop/qmp-intro.txt renamed from docs/qmp-intro.txt +0 -0
docs/interop/qmp-spec.txt renamed from docs/qmp-spec.txt +0 -0
docs/interop/vhost-user.txt renamed from docs/specs/vhost-user.txt +0 -0
docs/interop/vnc-ledstate-Pseudo-encoding.txt renamed from docs/vnc-ledstate-Pseudo-encoding.txt +0 -0
rules.mak +1 -1
@@ -380,7 +380,7 @@ define unnest-vars endef TEXI2MAN = $(call quiet-command, \ - perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl -I docs $< [email protected] && \ + perl -Ww -- $(SRC_PATH)/scripts/texi2pod.pl $(TEXI2PODFLAGS) $< [email protected] && \ $(POD2MAN) --section=$(subst .,,$(suffix $@)) --center=" " --release=" " [email protected] > $@, \ "GEN","$@")
Signature · 1 line
2.13.0
PATCH v2 2/2 qemu-doc: include version number
In reply to Paolo BonziniNote that TEXI2POD doesn't support @set/@clear, so pass the value manually on the command line.
This patch partially undoes commit bd7f974796 ("qapi: Clean up build of generated documentation", 2017-03-16).
Signed-off-by Paolo Bonzini <[email protected]>
--- Makefile | 17 +++++------------ qemu-doc.texi | 5 +++-- 2 files changed, 8 insertions(+), 14 deletions(-)
Makefile +5 -12
@@ -669,33 +669,26 @@ ui/console-gl.o: $(SRC_PATH)/ui/console-gl.c \ MAKEINFO=makeinfo MAKEINFOINCLUDES= -I docs -I $(<D) -I $(@D) MAKEINFOFLAGS=--no-split --number-sections $(MAKEINFOINCLUDES) -TEXI2PODFLAGS=$(MAKEINFOINCLUDES) +TEXI2PODFLAGS=$(MAKEINFOINCLUDES) "-DVERSION=$(VERSION)" TEXI2PDFFLAGS=$(if $(V),,--quiet) -I $(SRC_PATH) $(MAKEINFOINCLUDES) docs/version.texi: $(SRC_PATH)/VERSION $(call quiet-command,echo "@set VERSION $(VERSION)" > $@,"GEN","$@") -%.html: %.texi +%.html: %.texi docs/version.texi $(call quiet-command,LC_ALL=C $(MAKEINFO) $(MAKEINFOFLAGS) --no-headers \ --html $< -o $@,"GEN","$@") -%.info: %.texi +%.info: %.texi docs/version.texi $(call quiet-command,$(MAKEINFO) $(MAKEINFOFLAGS) $< -o $@,"GEN","$@") -%.txt: %.texi +%.txt: %.texi docs/version.texi $(call quiet-command,LC_ALL=C $(MAKEINFO) $(MAKEINFOFLAGS) --no-headers \ --plaintext $< -o $@,"GEN","$@") -%.pdf: %.texi +%.pdf: %.texi docs/version.texi $(call quiet-command,texi2pdf $(TEXI2PDFFLAGS) $< -o $@,"GEN","$@") -docs/interop/qemu-ga-ref.html docs/interop/qemu-ga-ref.info \ - docs/interop/qemu-ga-ref.txt docs/interop/qemu-ga-ref.pdf \ - docs/interop/qemu-ga-ref.7.pod: docs/version.texi -docs/interop/qemu-qmp-ref.html docs/interop/qemu-qmp-ref.info \ - docs/interop/qemu-qmp-ref.txt docs/interop/qemu-qmp-ref.pdf \ - docs/interop/qemu-qmp-ref.pod: docs/version.texi - qemu-options.texi: $(SRC_PATH)/qemu-options.hx $(SRC_PATH)/scripts/hxtool $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@,"GEN","$@")
qemu-doc.texi +3 -2
@@ -1,11 +1,12 @@ \input texinfo @c -*- texinfo -*- @c %**start of header @setfilename qemu-doc.info +@include version.texi @documentlanguage en @documentencoding UTF-8 -@settitle QEMU Emulator User Documentation +@settitle QEMU version @value{VERSION} User Documentation @exampleindent 0 @paragraphindent 0 @c %**end of header
@@ -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