Re: reference Debian package of multiple binaries sharing one man page

2023-11-13 Thread Norwid Behrnd
On Mon, 13 Nov 2023 09:41:12 -0800 Russ Allbery wrote: > > Oh, indeed, you're right and I misread that. So I think you can just use > symlinks, period, and not worry about .so (although you have to handle > nodoc builds correctly). > Well, one file with a list like

Re: reference Debian package of multiple binaries sharing one man page

2023-11-13 Thread Russ Allbery
Andrey Rakhmatullin writes: > On Fri, Nov 10, 2023 at 11:44:06AM -0800, Russ Allbery wrote: >> The good news is that if you're using debhelper, you don't have to care >> about how man handles these indirections and can just use a symlink. >> Install the man page into usr/share/man/man1 under

Re: reference Debian package of multiple binaries sharing one man page

2023-11-13 Thread Andrey Rakhmatullin
On Fri, Nov 10, 2023 at 11:44:06AM -0800, Russ Allbery wrote: > The good news is that if you're using debhelper, you don't have to care > about how man handles these indirections and can just use a symlink. > Install the man page into usr/share/man/man1 under whatever name is > canonical (possibly

Re: reference Debian package of multiple binaries sharing one man page

2023-11-13 Thread Russ Allbery
Norwid Behrnd writes: > Recently, I started to upgrade the Debian package about > `markdownlint`,[1] a syntax checker. The initially packaged version > 0.12.0 provided a binary of name `ruby-mdl` which now becomes a > transition dummy package in favour of the functionally updated >

Re: reference Debian package of multiple binaries sharing one man page

2023-11-13 Thread Norwid Behrnd
Hello, On Sat, 11 Nov 2023 14:08:49 +0100 Alexander Sulfrian wrote: > > You will need a file mdl.1 with the following content: > > .so man1/markdownlint.1 > > and markdownlint.1 should be the normal manpage without a .so line. > This logic provides exactly the relay I sought out. Thanks a

Re: reference Debian package of multiple binaries sharing one man page

2023-11-11 Thread Alexander Sulfrian
Hello, On Fri, Nov 10, 2023 at 08:20:35PM +0100, Norwid Behrnd wrote: > However, there still is some detail I did not understand well enough; the > additional line > > .so man1/mdl.1 > > in my file /debian/markdownlint.1 I think you missunderstodd the instructions: > Here is how to do it: If

Re: reference Debian package of multiple binaries sharing one man page

2023-11-11 Thread Xinhui Yang
Hi, On 2023/11/11 3:20, Norwid Behrnd wrote: Hello, I seek a maintained Debian package which provides multiple binaries sharing one man page in common -- do you know an example? Vim is an example of this, if I recalled it right - Vim has multiple frontends, there is a CLI one and a GTK

Re: reference Debian package of multiple binaries sharing one man page

2023-11-11 Thread Gioele Barabucci
On 11/11/23 08:12, Tobias Frost wrote: On Fri, Nov 10, 2023 at 08:20:35PM +0100, Norwid Behrnd wrote: I seek a maintained Debian package which provides multiple binaries sharing one man page in common -- do you know an example? devscripts - it links debchange.1 to dch.1 via debian/links

Re: reference Debian package of multiple binaries sharing one man page

2023-11-10 Thread Tobias Frost
On Fri, Nov 10, 2023 at 08:20:35PM +0100, Norwid Behrnd wrote: > Hello, > > I seek a maintained Debian package which provides multiple binaries sharing > one > man page in common -- do you know an example? devscripts - it links debchange.1 to dch.1 via debian/links (dh_link) $grep -r dch

Re: reference Debian package of multiple binaries sharing one man page

2023-11-10 Thread IOhannes m zmölnig
Am 10. November 2023 20:20:35 MEZ schrieb Norwid Behrnd : >Hello, > >I seek a maintained Debian package which provides multiple binaries sharing one >man page in common -- do you know an example? > faust mfh.her.fsr IOhannes

reference Debian package of multiple binaries sharing one man page

2023-11-10 Thread Norwid Behrnd
Hello, I seek a maintained Debian package which provides multiple binaries sharing one man page in common -- do you know an example? Recently, I started to upgrade the Debian package about `markdownlint`,[1] a syntax checker. The initially packaged version 0.12.0 provided a binary of name