qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] build system: silent generation of doc files and qe


From: Jan Kiszka
Subject: [Qemu-devel] [PATCH] build system: silent generation of doc files and qemu-options.h
Date: Thu, 02 Apr 2009 22:04:34 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Signed-off-by: Jan Kiszka <address@hidden>
---

 Makefile        |   26 ++++++++++++++++----------
 Makefile.target |    2 +-
 2 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile
index 84437a0..50914c4 100644
--- a/Makefile
+++ b/Makefile
@@ -283,28 +283,34 @@ cscope:
 
 # documentation
 %.html: %.texi
-       texi2html -I=. -monolithic -number $<
+       $(call quiet-command,texi2html -I=. -monolithic -number $<,"  GEN   $@")
 
 %.info: %.texi
-       makeinfo -I . $< -o $@
+       $(call quiet-command,makeinfo -I . $< -o $@,"  GEN   $@")
 
 %.dvi: %.texi
-       texi2dvi -I . $<
+       $(call quiet-command,texi2dvi -I . $<,"  GEN   $@")
 
 qemu-options.texi: $(SRC_PATH)/qemu-options.hx
-       sh $(SRC_PATH)/hxtool -t < $< > $@
+       $(call quiet-command,sh $(SRC_PATH)/hxtool -t < $< > $@,"  GEN   $@")
 
 qemu.1: qemu-doc.texi
-       perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu.pod
-       pod2man --section=1 --center=" " --release=" " qemu.pod > $@
+       $(call quiet-command, \
+         perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu.pod && \
+         pod2man --section=1 --center=" " --release=" " qemu.pod > $@, \
+         "  GEN   $@")
 
 qemu-img.1: qemu-img.texi
-       perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-img.pod
-       pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@
+       $(call quiet-command, \
+         perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-img.pod && \
+         pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@, \
+         "  GEN   $@")
 
 qemu-nbd.8: qemu-nbd.texi
-       perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-nbd.pod
-       pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@
+       $(call quiet-command, \
+         perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-nbd.pod && \
+         pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@, \
+         "  GEN   $@")
 
 info: qemu-doc.info qemu-tech.info
 
diff --git a/Makefile.target b/Makefile.target
index ebc83a5..571fce6 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -751,7 +751,7 @@ else
 endif
 
 qemu-options.h: $(SRC_PATH)/qemu-options.hx
-       sh $(SRC_PATH)/hxtool -h < $< > $@
+       $(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@,"  GEN   
$(TARGET_DIR)$@")
 
 clean:
        rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o qemu-options.h gdbstub-xml.c

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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