doc: add substitution for %pkglibexecdir% and %pkgdatadir% in man pages.

%prefix% isn't used anymore, remove it.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2022-11-28 22:49:31 +03:00
parent ebb011a047
commit f98cda9ff3
1 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
SED_PARAMETERS = \
-e "s/%DATE_OF_MAN_PAGE%/$${MAN_DATE}/g" \
-e "s/%MAN_VERSION%/@MAN_VERSION@/g" \
-e "s{%prefix%{@prefix@{g" \
-e "s{%sysconfdir%{@sysconfdir@{g" \
-e "s{%libexecdir%{@libexecdir@{g"
-e "s{%libexecdir%{@libexecdir@{g" \
-e "s{%pkglibexecdir%{$(libexecdir)/@PACKAGE@{g" \
-e "s{%pkgdatadir%{$(datadir)/@PACKAGE@{g"
MAN_DATE_CMD = \
LC_ALL=$(DATE_LANG) @PERL_FOR_BUILD@ -CS -MPOSIX -e '\