qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 12/36] build-sys: generate qmp-commands.txt


From: marcandre . lureau
Subject: [Qemu-devel] [PATCH 12/36] build-sys: generate qmp-commands.txt
Date: Fri, 25 Sep 2015 16:03:40 +0200

From: Marc-André Lureau <address@hidden>

Not sure this is really necessary, but it's easy to provide

Signed-off-by: Marc-André Lureau <address@hidden>
---
 Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 918ad4e..5e09e88 100644
--- a/Makefile
+++ b/Makefile
@@ -525,8 +525,9 @@ qemu-monitor.texi: $(SRC_PATH)/hmp-commands.hx
 qemu-monitor-info.texi: $(SRC_PATH)/hmp-commands-info.hx
        $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@,"  GEN  
 $@")
 
-qmp-commands.txt: $(SRC_PATH)/qmp-commands.hx
-       $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -q < $< > $@,"  GEN  
 $@")
+qmp-commands.txt: qemu-qapi.texi
+       $(call quiet-command,LC_ALL=C $(MAKEINFO) $(MAKEINFOFLAGS) --plaintext 
$< -o $@, \
+       "  GEN   $@")
 
 qemu-img-cmds.texi: $(SRC_PATH)/qemu-img-cmds.hx
        $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -t < $< > $@,"  GEN  
 $@")
-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]