Jeff Squyres wrote:
> Ugh. Integrating the "make dist" process with this stuff is
> surprisingly difficult.
> I'm still trying to fix "make dist" (and distcheck) for VPATH builds.
> I may admit defeat on this, and only allow "make dist" to work in
> non-VPATH builds (the contrib/dist/make_dist_tarball script only works
> in non-VPATH builds; it checks right up near the top). Would that be
> horrible if I didn't allow non-VPATH dist/distcheck?
I always build outside of the source tree for development/testing. But
it's ok to forbid it for make dist/distcheck.
> Additionally, I found a tachyon (ha!) in utils/Makefile.am in terms of
> "make dist": the man pages depend on the executables (because the man
> pages are generated via "help2man"). This is a problem if you:
> svn co ...
> make dist
> The dist will fail because the executables are built, but then fail
> because libhwloc.la does not exist.
Oh now I understand this failure :)