Re: git: 0a0f7486413c - main - man: Build manpages for all architectures

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Thu, 25 Nov 2021 14:37:08 UTC
On 25/11/2021 16:31, Baptiste Daroussin wrote:
> On Thu, Nov 25, 2021 at 04:30:35PM +0200, Andriy Gapon wrote:
>> On 25/11/2021 16:23, Baptiste Daroussin wrote:
>>> On Thu, Nov 25, 2021 at 03:57:41PM +0200, Andriy Gapon wrote:
>>>> Looking at the output I got another thought: do we need architecture sub-dir
>>>> links at all now that we install manpages to a main directory?
>>>> Is there any benefit to having the same manpage in a directory (like man4)
>>>> and its immediate subdirectory (like man4/arm) ?
>>>>
>>> Hardlink not in the same directory is imho a fragile setup anyway, what if a
>>> user has different mount points here, the hardlink would be broken. while there
>>> is little chances someone is doing that, history told me people are doing weird
>>> things and if they haven't yet, they will soon.
>>>
>>> I continue to think this kind of links should be 1/ symlinks, 2/ relative
>>> symlinks if they are in a situation which can become a cross device issue.
>>
>> Yeah... but are they needed at all? :-)
>>
>> I mean, whichever way we install manpages they are always installed into
>> manX. I do not see a point / benefit of having another copy / link /
>> whatever in manX/arch.
>>
>> P.S.
>> Adding support for "MSYMLINKS" is not that hard.
>> But I'd rather remove some stuff than add some new stuff.
>>
> 
> There I fully agree I don't see the point of the initial change in the first place :D

Well, I do see the point of the change and I like it.
But I don't understand why / how  MANSUBDIR was / is useful.

Perhaps people thought that hypothetically it would be a good idea if man foobar 
on amd64 and sparc64 had different content...
But looks like it never happened and the idea (or strawman) is debatable too.


-- 
Andriy Gapon