Re: [RFA] Fix a parallel build error in doc

Jie Zhang
2010-01-18T03:41:46Z

On 01/18/2010 11:38 AM, Joel Brobecker wrote:
>> We should also add GDBvn.texi in ANNOTATE_DOC_BUILD_INCLUDES, shouldn't we?
>>
>> Is the attached patch OK?
>
> Actually, it is gdb-cfg.texi that includes GDBvn.texi, not annotate.texinfo.
> So a better fix is to add that dependency to gdb-cfg.texi, no? It's kind
> of borderline, since one can create gdb-cfg.texi without GDBvn.texi.
> However, on the other hand, it makes it simpler for the other documents
> that depend on gdb-cfg.texi, as they do not have to know that gdb-cfg.texi
> depends on GDBvn.texi (and possibly other files too).
>
I don't think so. For example, if foo.c includes foo.h, we don't write

foo.c: foo.h

we actually write

foo.o: foo.c foo.h

Jie