Re: more fixes for out of tree builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 09, 2009 at 03:19:09PM +0100, Marco d'Itri wrote:
> On Nov 09, Kay Sievers <kay.sievers@xxxxxxxx> wrote:
> 
> > On Mon, Nov 9, 2009 at 04:46, Marco d'Itri <md@xxxxxxxx> wrote:
> > > These are needed to support out of tree builds,
> > Why isn't "make distcheck" failing then?
> Did you try it with a read only source tree?

 Yes, be careful with "make distcheck", it does not check for all
 problems. Don't forget that "make distcheck" works with 
 source code from tarball and for example gtk-doc by default add many
 generated files to the tarball. The best test is:

    git clean -xfd
    ./autogen.sh
    mkdir -p ../build
    cd ../build
    ./configure
    make

 .. and try "ls -la ../udev/libudev/docs/ | wc -l" before and after the
 make command :-)

> > Hmm, that looks a bit too weird, doesn't it?
> > > +srcdir := $(builddir)
> Maybe, but without something like that the building process will create
> files in the source tree.
> Ubuntu uses a similar workaround, this is a known gtk-doc bug.

 :-(
 
 The number of non-gtk libraries is slowly growing. It would be nice
 to found a real solution... fix gtk-doc or found something better
 than gtk-doc.

    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

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux