From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karel Zak Date: Mon, 09 Nov 2009 22:43:56 +0000 Subject: Re: more fixes for out of tree builds Message-Id: <20091109224356.GR5610@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="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Mon, Nov 09, 2009 at 04:46:09AM +0100, Marco d'Itri wrote: > These are needed to support out of tree builds, but I do not know the > correct way to properly fix the bugs in Makefile.am. >=20 > --=20 > ciao, > Marco > --- a/extras/gudev/docs/Makefile.in > +++ b/extras/gudev/docs/Makefile.in > @@ -300,6 +300,7 @@ GPATH =3D $(srcdir) > TARGET_DIR =3D $(HTML_DIR)/$(DOC_MODULE) > =20 > # This includes the standard gtk-doc make rules, copied by gtkdocize. > +srcdir :=3D $(builddir) From my point of view gtk-doc.make is broken by design for people who 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. I have spent one evening to fix gtk-doc.make for util-linux-ng, see http://git.kernel.org/?p=3Dutils/util-linux-ng/util-linux-ng.git;a=3Dcommi= tdiff;h=E42b25eb1536697ba283772f5452e7495cb4024b;hp=959ac815b67a43f9b5f70a1= dc294d2cf3a61fc2c .. it's not perfect, but works for me. Karel --=20 Karel Zak