From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb7kw-0000rV-FV for qemu-devel@nongnu.org; Thu, 15 Dec 2011 04:37:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rb7kq-0003hE-Om for qemu-devel@nongnu.org; Thu, 15 Dec 2011 04:37:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:21280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb7kq-0003h8-EW for qemu-devel@nongnu.org; Thu, 15 Dec 2011 04:37:32 -0500 Message-ID: <4EE9BFD9.3040108@redhat.com> Date: Thu, 15 Dec 2011 11:37:29 +0200 From: Avi Kivity MIME-Version: 1.0 References: <1323879637-16901-1-git-send-email-aliguori@us.ibm.com> <1323879637-16901-3-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1323879637-16901-3-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/4] docs: add build infrastructure for gtkdocs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org On 12/14/2011 06:20 PM, Anthony Liguori wrote: > By convention, documented headers now go in include/ Dislike. > +include $(SRC_PATH)/Makefile.docs > + > $(common-obj-y): $(GENERATED_HEADERS) > subdir-libcacard: $(oslib-obj-y) $(trace-obj-y) qemu-timer-common.o > > @@ -113,6 +115,8 @@ QEMU_CFLAGS+=$(CURL_CFLAGS) > > QEMU_CFLAGS+=$(GLIB_CFLAGS) > > +QEMU_CFLAGS+=$(SRC_PATH)/include > + > ui/cocoa.o: ui/cocoa.m Documentation should be built by default, so that errors in the format are detected (and break the build). > > + > +gtkdoc: html/index.html > + > +html/index.html: $(DOC_SRC) > + gtkdoc-scan --module=QEMU --source-dir=$(SRC_PATH)/include && \ > + cp $(SRC_PATH)/QEMU-docs.xml . && \ > + gtkdoc-mkdb --module=QEMU --output-format=xml --source-dir=$(SRC_PATH)/include && \ > + mkdir -p html && \ > + (cd html && gtkdoc-mkhtml QEMU ../QEMU-docs.xml && cd ..) && \ > + gtkdoc-fixxref --module=QEMU --module-dir=html > + Does this thing not support incremental builds? > +++ b/QEMU-docs.xml > @@ -0,0 +1,31 @@ > + > + + "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" > +[ > + > +]> > + > + > + QEMU Reference Manual > + > + for QEMU 1.0. 1.1. -- error compiling committee.c: too many arguments to function