]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd: fix unnecessary bfd.info regen
authorAlexey Izbyshev <izbyshev@ispras.ru>
Wed, 2 Oct 2024 19:58:08 +0000 (22:58 +0300)
committerAlan Modra <amodra@gmail.com>
Thu, 3 Oct 2024 03:28:50 +0000 (12:58 +0930)
commit98b1464bdf6306a8ab4614b5e9f76cdb2dd00b33
tree2c11269ef607e88f4b1f7851fad9a8bdb0149c42
parent424890868f19cfd871d911cc538f59dd91c50713
bfd: fix unnecessary bfd.info regen

When building from an unmodified release tarball, a REGEN_TEXI
invocation is supposed to create a symlink to the .texi file
in the source directory and discard the newly generated .tmp file.
However, after commit bd32be01c997 ("bfd: merge doc subdir up a level")
it creates the symlink at the wrong level, and then a .texi with
a fresh timestamp, which in turn forces bfd.info regeneration.
This breaks builds in environments without makeinfo program.

Fix this by creating the symlink at the level of the target stamp.

Fixes: bd32be01c997 ("bfd: merge doc subdir up a level")
Signed-off-by: Alexey Izbyshev <izbyshev@ispras.ru>
bfd/Makefile.in
bfd/doc/local.mk