From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karel Zak Date: Tue, 10 Nov 2009 10:36:57 +0000 Subject: Re: more fixes for out of tree builds Message-Id: <20091110103657.GA12196@nb.net.home> List-Id: References: <20091109034609.GA28618@bongo.bofh.it> In-Reply-To: <20091109034609.GA28618@bongo.bofh.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Nov 10, 2009 at 10:01:32AM +0100, Martin Pitt wrote: > Karel Zak [2009-11-09 23:43 +0100]: > > need to support out-of-tree builds and who don't want to store > > generated stuff (docs/{tmpl,xml,html}) in the source code repository. > > Well, not quite "by design", but gtk-doc.make is indeed broken for > this. The Ubuntu package does I don't think so. For example gtkdoc-scan assumes all files in the output directory (see /usr/bin/gtkdoc-scan, lines 100-110). This is problem, because for example sections are defined in the $(srcdir)/$(DOC_MODULE)-sections.txt. > # fix gtk-doc breakage with separate build tree > sed -i 's/srcdir/builddir/g' gtk-doc.make Is it correct? All your setting in $(srcdir) (for example lits of sections, some extra xml files, ...) will be invisible for gtk-doc. > before autoreconf, which does the trick. > > Please also see > > https://bugzilla.gnome.org/show_bug.cgi?idH5806 pretty old bug, it seems we all depend on unmaintained tool :-( Karel -- Karel Zak