Commit 0d00e56353a061b182196b922d33dd0ca60d8442

Authored by aliguori
1 parent 93c65b47

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
Showing 2 changed files with 17 additions and 11 deletions
Makefile
... ... @@ -283,28 +283,34 @@ cscope:
283 283  
284 284 # documentation
285 285 %.html: %.texi
286   - texi2html -I=. -monolithic -number $<
  286 + $(call quiet-command,texi2html -I=. -monolithic -number $<," GEN $@")
287 287  
288 288 %.info: %.texi
289   - makeinfo -I . $< -o $@
  289 + $(call quiet-command,makeinfo -I . $< -o $@," GEN $@")
290 290  
291 291 %.dvi: %.texi
292   - texi2dvi -I . $<
  292 + $(call quiet-command,texi2dvi -I . $<," GEN $@")
293 293  
294 294 qemu-options.texi: $(SRC_PATH)/qemu-options.hx
295   - sh $(SRC_PATH)/hxtool -t < $< > $@
  295 + $(call quiet-command,sh $(SRC_PATH)/hxtool -t < $< > $@," GEN $@")
296 296  
297 297 qemu.1: qemu-doc.texi
298   - perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu.pod
299   - pod2man --section=1 --center=" " --release=" " qemu.pod > $@
  298 + $(call quiet-command, \
  299 + perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu.pod && \
  300 + pod2man --section=1 --center=" " --release=" " qemu.pod > $@, \
  301 + " GEN $@")
300 302  
301 303 qemu-img.1: qemu-img.texi
302   - perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-img.pod
303   - pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@
  304 + $(call quiet-command, \
  305 + perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-img.pod && \
  306 + pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@, \
  307 + " GEN $@")
304 308  
305 309 qemu-nbd.8: qemu-nbd.texi
306   - perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-nbd.pod
307   - pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@
  310 + $(call quiet-command, \
  311 + perl -Ww -- $(SRC_PATH)/texi2pod.pl $< qemu-nbd.pod && \
  312 + pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@, \
  313 + " GEN $@")
308 314  
309 315 info: qemu-doc.info qemu-tech.info
310 316  
... ...
Makefile.target
... ... @@ -741,7 +741,7 @@ else
741 741 endif
742 742  
743 743 qemu-options.h: $(SRC_PATH)/qemu-options.hx
744   - sh $(SRC_PATH)/hxtool -h < $< > $@
  744 + $(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $(TARGET_DIR)$@")
745 745  
746 746 clean:
747 747 rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o qemu-options.h
... ...