On Sat, Feb 21, 2026 at 08:28:56AM +0000, Gavin Smith wrote:
> The autoconf manual cautions against this usage of $(LN_S):
> 
>      If you make a link in a directory other than the current directory,
>      its meaning depends on whether ‘ln’ or ‘ln -s’ is used.  To safely
>      create links using ‘$(LN_S)’, either find out which form is used
>      and adjust the arguments, or always invoke ‘ln’ in the directory
>      where the link is to be created.
> 
>      In other words, it does not work to do:
>           $(LN_S) foo /x/bar
> 
>      Instead, do:
> 
>           (cd /x && $(LN_S) foo bar)
> 
> This rule for installing "makeinfo" is present in both
> C/Makefile.am and perl/Makefile.am (as "install-data-hook").

I just commited a change as proposed by the automake documentation.

-- 
Pat

Reply via email to