[postgis-devel] manpages (was: PostGIS 3.3.0alpha1 released)
Sebastiaan Couwenberg
sebastic at xs4all.nl
Mon May 23 01:54:27 PDT 2022
On 5/23/22 10:40, Sandro Santilli wrote:
> Speaking of which, how do you deal with installing those man pages
> in the correct directory in Debian, Bas ? Beacause I find installing
> in PostgreSQL man path is somewhat ill.
dh_installman does the right thing:
https://manpages.debian.org/unstable/debhelper/dh_installman.1.en.html
Using the package control file:
https://salsa.debian.org/debian-gis-team/postgis/-/blob/master/debian/postgis.manpages
CMake has CMAKE_INSTALL_MANDIR which can be used to determine the base
directory, see for example:
https://github.com/OSGeo/gdal/blob/master/man/CMakeLists.txt
Or a custom procedure:
https://github.com/osmcode/osmium-tool/blob/master/man/CMakeLists.txt
Autotools has its own magic variables:
https://www.gnu.org/software/automake/manual/html_node/Man-Pages.html
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the postgis-devel
mailing list