aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-05 17:40:46 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-05 17:40:46 +0000
commit0d00e56353a061b182196b922d33dd0ca60d8442 (patch)
tree7725fc49b330ce9a14589de94d125545d437cd4c
parent93c65b47a6fb9ba0e2b89269a751ba3433a33427 (diff)
downloadqemu-0d00e56353a061b182196b922d33dd0ca60d8442.zip
qemu-0d00e56353a061b182196b922d33dd0ca60d8442.tar.gz
qemu-0d00e56353a061b182196b922d33dd0ca60d8442.tar.bz2
build system: silent generation of doc files and qemu-options.h (Jan Kiszka)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6979 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--Makefile26
-rw-r--r--Makefile.target2
2 files changed, 17 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 2bee52c..37c7182 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 535d6d2..ec366a7 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -741,7 +741,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