<<< Date Index >>>     <<< Thread Index >>>

Re: Errors when building Mutt



On Sunday, 18 September 2005 at 02:24, Vincent Lefevre wrote:
> On 2005-09-17 17:05:25 -0700, Brendan Cully wrote:
> > It was probably introduced when I had the manual.xml target
> > automatically call make ../makedoc. You could try removing that line
> > to see if the error goes away, but I think we need a different fix to
> > ensure that makedoc is up-to-date. I'll play around a bit...
> 
> I know where the problem is:
> 
> manual.xml stamp-doc-xml: [...]
> 
> There are 2 targets. As said on
> 
>   http://lists.gnu.org/archive/html/bug-make/2002-04/msg00034.html
> 
> this yields the unwanted behavior with -j2.
> 
> BTW, the problem I had with my program is also due to the 2 targets.

It turned out to be the submake call as I expected. I've put in a
dirty hack to force parallel make all to synchronise on makedoc, but
the dependencies aren't quite correct. Still, it should solve your
problem I believe.