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?id=485806 pretty old bug, it seems we all depend on unmaintained tool :-( Karel -- Karel Zak <kzak@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html