mesonbuild / meson

The Meson Build System
http://mesonbuild.com
Apache License 2.0
5.6k stars 1.63k forks source link

Support generation of man pages with help2man #1812

Open nirbheek opened 7 years ago

nirbheek commented 7 years ago

This would be implemented via a run_target() that runs a specific built executable on install with help2man which generates a man page. Then we compress it and install it.

So far, pango needs it for its Meson port, but other projects would use it too, I'm sure.

ebassi commented 7 years ago

To be fair, I'd rather port Pango's pango-view utility to docbook and use xsltproc, like we do in GTK+ — but I'm sure other projects would be glad to have help2man support. :-)