bug-gnulib
[Top][All Lists]
Advanced

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

Re: missing dependencies


From: Bruno Haible
Subject: Re: missing dependencies
Date: Mon, 13 Nov 2006 20:59:49 +0100
User-agent: KMail/1.9.1

Ralf Wildenhues wrote:
> Speaking of short-sighted is a bit stretched

That word is withdrawn.

> with some functionality that basically serves for more than half a decade.

The functionality that can be triggered through Makefile.am variables is
indeed well designed and rock solid. Kudos especially to Alexandre who
added so many tests. But it took me a lot of experience with gnulib-tool
to understand that, unfortunately, the {AC_LIBSOURCES, AC_LIBOBJ,
AC_CONFIG_LIBOBJ_DIR} combo of functionality is not on the same level of
dependability.

Apologies if someone feels hurt.

> You could simplify this further:
> - header files can go into *_SOURCES variables since about a decade now,
> - EXTRA_*_SOURCES are already distributed.
> 
> That means you can drop most EXTRA_DIST settings.

Doing so wouldn't make gnulib-tool simpler or more reliable. What's the
point of ensuring that *_SOURCES and EXTRA_DIST are disjoint? For human
maintainers, it's that it's less to type. But when it's automatically
generated?

Btw, I don't know what happens if I add .m4 or .java files to *_SOURCES.
Automake might want to activate its own Java compilation rules...

> coreutils now still needs one more fix, after Jim's:
> some of its own lib files are still not dependency-tracked:
> | ls: .deps/fdopendir-glibc.Po: No such file or directory
> | ls: .deps/lstat-stub.Po: No such file or directory
> | ls: .deps/readlink-stub.Po: No such file or directory
> | ls: .deps/stdopen.Po: No such file or directory
> 
> Or is it that these files are never needed?

stdopen is unused, and is not mentioned in any Makefile.am nor configure.ac.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]