From patchwork Thu Mar 4 21:21:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Documentation: Modify rule for html output (better looking output format) Date: Thu, 04 Mar 2010 11:21:02 -0000 From: Stefan Weil X-Patchwork-Id: 46979 Message-Id: <1267737662-26669-1-git-send-email-weil@mail.berlios.de> To: QEMU Developers --- Makefile | 7 +++++-- configure | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1f6c3ea..bf2cef2 100644 --- a/Makefile +++ b/Makefile @@ -230,15 +230,18 @@ cscope: cscope -b # documentation +MAKEINFO=makeinfo +MAKEINFOFLAGS=--no-headers --no-split --number-sections TEXIFLAG=$(if $(V),,--quiet) %.dvi: %.texi $(call quiet-command,texi2dvi $(TEXIFLAG) -I . $<," GEN $@") %.html: %.texi - $(call quiet-command,texi2html -I=. -monolithic -number $<," GEN $@") + $(call quiet-command,$(MAKEINFO) $(MAKEINFOFLAGS) --html $< -o $@, \ + " GEN $@") %.info: %.texi - $(call quiet-command,makeinfo -I . $< -o $@," GEN $@") + $(call quiet-command,$(MAKEINFO) $< -o $@," GEN $@") %.pdf: %.texi $(call quiet-command,texi2pdf $(TEXIFLAG) -I . $<," GEN $@") diff --git a/configure b/configure index b4db650..19eb620 100755 --- a/configure +++ b/configure @@ -1759,7 +1759,7 @@ fi # Check if tools are available to build documentation. if test "$docs" != "no" ; then - if has texi2html && has pod2man; then + if has makeinfo && has pod2man; then docs=yes else if test "$docs" = "yes" ; then