lsof icon indicating copy to clipboard operation
lsof copied to clipboard

Build man page for linux using soelim.

Open greenius opened this issue 6 years ago • 3 comments

Also renamed source man page to avoid potential problems building on case insensitive file systems which would treat Lsof.8 and lsof.8 as the same file (causing problem with adding lsof.8 to .gitignore)

greenius avatar Jul 08 '19 12:07 greenius

Thank you. I wonder how large the impact of this change is on the other dialect like freebsd.

masatake avatar Jul 08 '19 12:07 masatake

Ideally, converting Lsof.8 to lsof.8 should be done in "make dist". In that case soelim should be run in "make dist". Linux allows users to run lsof without root-privilege. So the man page should be lsof.1.

I have to revise the process for releasing.

masatake avatar Jul 14 '19 23:07 masatake

currently. the FreeBSD port makefile does:

(cd ${WRKSRC} && /usr/bin/soelim Lsof.8 > ${WRKSRC}/lsof.8)
${INSTALL_MAN} ${WRKSRC}/lsof.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/lsof.8

so if the lsof makefile(s) do that, we can adapt to get the manpage in the right place.

lrosenman avatar Jun 05 '20 02:06 lrosenman