Fix am__TEXINFO_TEX_DIR for gprof and ld

Andreas Schwab
Thu May 31 14:50:00 GMT 2012

Christophe Lyon <> writes:

> Hello,
> I have noticed that building the pdf docs would fail in gprof and ld subdirs: TEXINPUTS gets a non-existing prefix, thus pdftex uses some out-dated host definitions, leading to a failure.
> I am not sure why am__TEXINFO_TEX_DIR ended up with a definition
> different from bfd/doc, binutils/doc or gas/doc in gprof and ld. It
> might have been a temporary problem with automake, that's why my patch
> only modifies the 2
> OK?
> Christophe.
> 2012-05-31  Christophe Lyon  <>
> 	ld/
> 	* (am__TEXINFO_TEX_DIR): Remove $(srcdir) prefix.
> 	gprof/
> 	* (am__TEXINFO_TEX_DIR): Remove $(srcdir) prefix. is a generated file, you should change instead.

The reason why bfd/doc/ has a different value of
am__TEXINFO_TEX_DIR is that it is generated with the cygnus option,
which changes the default value of TEXINFO_TEX to what is used in
ld/  But automake always prepends $(srcdir) to an explictly
given value for TEXINFO_TEX, unlike the implict default value.


Andreas Schwab,
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

More information about the Binutils mailing list