elementary / terminal

Terminal emulator designed for elementary OS
https://elementary.io
GNU Lesser General Public License v3.0
399 stars 96 forks source link

Install man page with meson #731

Closed jeremypw closed 1 year ago

jeremypw commented 1 year ago

Needs consideration of what to do about deb-packaging and old compressed man file that will be present and take precedence on systems where Terminal has already been installed.

eli-schwartz commented 1 year ago

The deb packaging, per the Debian maintainers guide, expects packages to run an installation process that installs a man page without compression, and then dpkg itself handles compressing it.

This is also how other distros work too -- manpages are installed without compression by the build tool, because after meson install or ./configure && make && make install, the packaging tool collects all the files meson has installed, handles compression of manpages among other post-processing steps, and turns it into an archive.

jeremypw commented 1 year ago

@eli-schwartz Thanks for the information. So, we should also remove man page related files from the debian folder in deb-packaging branch?

eli-schwartz commented 1 year ago

Yes, it's a straight-up duplicate.