When I use relocatable-lib it adds a line like this to Makefile in src/:
include ../lib/$(DEPDIR)/relocatable.Plo
In my top-level Makefile.am, I have "lib" (containing gnulib) before "src", which is necessary, because the programs in src link against
libgnu.la.
When I run "make distcheck", "make distclean" is run first in lib/. Then when it is run in src/ I get an error because reloctable.Plo no longer exists.
I can't see anything in the gnulib docs about this, so at least there seems to be a documentation problem, but I also can't work out how to fix it, so would appreciate some help!
--