From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbC0m-0005ul-37 for qemu-devel@nongnu.org; Thu, 15 Dec 2011 09:10:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbC0e-0005Yf-Rh for qemu-devel@nongnu.org; Thu, 15 Dec 2011 09:10:16 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:43262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbC0e-0005YL-Ob for qemu-devel@nongnu.org; Thu, 15 Dec 2011 09:10:08 -0500 Received: by iagj37 with SMTP id j37so3259355iag.4 for ; Thu, 15 Dec 2011 06:10:08 -0800 (PST) Message-ID: <4EE9FFBC.3080600@codemonkey.ws> Date: Thu, 15 Dec 2011 08:10:04 -0600 From: Anthony Liguori 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> <4EE9BFD9.3040108@redhat.com> <4EE9F67B.3060302@codemonkey.ws> <4EE9F977.2040600@redhat.com> In-Reply-To: <4EE9F977.2040600@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Avi Kivity Cc: qemu-devel@nongnu.org On 12/15/2011 07:43 AM, Avi Kivity wrote: > On 12/15/2011 03:30 PM, Anthony Liguori wrote: >> On 12/15/2011 03:37 AM, Avi Kivity wrote: >>> On 12/14/2011 06:20 PM, Anthony Liguori wrote: >>>> By convention, documented headers now go in include/ >>> >>> Dislike. >> >> I've been planning on doing this for a while. I think it's a useful >> way to help improve internal modularity. It provides a consistent way >> to indicate which headers represent "public" internal interfaces (like >> the memory API) verses things that are really private headers specific >> to a submodule (say block_int.h). > > If a submodule needs an internal header, it probably wants its own subdir. > >> >> We have a real problem internally with headers too. It's almost >> surprising how many lack guards, don't have proper #includes, etc. By >> moving all public headers to include/, it gives us a systematic way to >> go through, clean up various headers, and have an idea of how much >> work is left to be done. > > Still dislike. But it's just dislike, not an opening shot into an > extended discussion that will expand into coding style, proposals for > changing the programming language, merging qemu into a subdirectory of > another project, etc, as much fun as it promises to be. Do it if you > must, I'll live with it somehow. Man, it's just not easy anymore to start epic flame wars... I guess I'll have to go back to coding. >>> Documentation should be built by default, so that errors in the format >>> are detected (and break the build). >> >> I agree, but since we now are dealing with a fork of a common tool, I >> didn't want to add a hard build dependency until I can get some >> feedback on whether upstream is willing to consider our patch. > > Let's avoid a fork, either get it merged or find some other tool. This is definitely the best tool for the job. If we're not willing to live with underscores and upstream won't carry the patch, forking is our only option. We can do it as a git submodule though which will make life fairly easy. Regards, Anthony Liguori >>> Does this thing not support incremental builds? >> >> As best as I can tell, no. Every other tool I've looked as suffers >> from the same problem. > > Yeah, it's equivalent to a compiler doing most of its work during the > link phase (=idea for patch). >