]> git.ipfire.org Git - thirdparty/man-pages.git/commit - lib/install-man.mk
install-man.mk: Fix link pages when installing in different mandirs
authorAlejandro Colomar <alx@kernel.org>
Sat, 4 Mar 2023 20:03:24 +0000 (21:03 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sat, 4 Mar 2023 20:03:26 +0000 (21:03 +0100)
commite0b0b71729051ff89b38b4da15b1155ee817606d
tree729d69ee4e1b2c03877ffb05fab6d00b2aa7c0a7
parent5adb49824992b75b7624458995cfbd7a3e958300
install-man.mk: Fix link pages when installing in different mandirs

If downstream wants to put pages in different places (e.g., Debian uses
man2/ and man3/, rather than man2type/ and man3const/, man3head/, and
man3type/), make it easy for them.  Link pages need to be fixed
according to the dirname where the pages are actually being installed.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/install-man.mk