Skip to content

Commit d74f020

Browse files
krobelusgithub-actions[bot]
authored andcommitted
buildsys: fix %pkglibexecdir% leaking into man pages in some cases
The generated "doc/man/es/Makefile" contains pkglibexecdir = $(libexecdir)/mc libexecdir = ${exec_prefix}/libexec SED_PARAMETERS = \ ... \ -e "s{%libexecdir%{${exec_prefix}/libexec{g" \ -e "s{%pkglibexecdir%{@pkglibexecdir@{g" \ I think "@pkglibexecdir@" is an Automake macro that should have been expanded when generating this Makefile. When I install from source, this leads to $ man mc | grep bash shell to the last directory Midnight Commander was in. Source the file @pkglibexecdir@/mc.sh (bash and zsh Fix that by using the Make variables. Regression introduced in 4583127. Signed-off-by: Johannes Altmanninger <aclopte@gmail.com> Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
1 parent cc2af1e commit d74f020

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/man/date-of-man-include.am

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
SED_PARAMETERS = \
22
-e "s/%DATE_OF_MAN_PAGE%/$${MAN_DATE}/g" \
3-
-e "s/%MAN_VERSION%/@MAN_VERSION@/g" \
4-
-e "s{%sysconfdir%{@sysconfdir@{g" \
5-
-e "s{%libexecdir%{@libexecdir@{g" \
6-
-e "s{%pkglibexecdir%{@pkglibexecdir@{g" \
7-
-e "s{%pkgdatadir%{$(datadir)/@PACKAGE@{g"
3+
-e "s/%MAN_VERSION%/$(MAN_VERSION)/g" \
4+
-e "s{%sysconfdir%{$(sysconfdir){g" \
5+
-e "s{%libexecdir%{$(libexecdir){g" \
6+
-e "s{%pkglibexecdir%{$(pkglibexecdir){g" \
7+
-e "s{%pkgdatadir%{$(pkgdatadir){g"
88

99
MAN_DATE_CMD = \
1010
LC_ALL=$(DATE_LANG) @PERL_FOR_BUILD@ -CS -MPOSIX -e '\

0 commit comments

Comments
 (0)