Just after sending this, I got a hint from someone to use
override_dh_installman inside debian/rules instead of patching the
Rakefile. doing it this way I'm able to compile and include the man page
in the package.
sorry for the noise on the list!
On 2020-12-20 10:46 p.m., Gabriel Filion wrote:
I'm close to having a finished package for metadata-json-lint[0] (I'm
done with its missing dependency but I wanted to request sponsorship for
the two of them at the same time), however since lintian was warning
about a missing man page for the binary, I set out to write one.
[0]:https://salsa.debian.org/ruby-team/metadata-json-lint
I now have a text in ReST that can be converted to a man page with
rst2man, and I've patched the Rakefile in order to build the man page,
but for some reason it's not getting compiled during the build phase.
https://salsa.debian.org/ruby-team/metadata-json-lint/-/commit/8af0b229cd54019aea61b36d15ade8f180f6043d
Is there a recommended way to achieve this?