1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-11 01:56:17 +02:00

45950: Fix 'make install' in out-of-tree tarball builds.

See workers/45936 for the failure mode and workers/45943 for an earlier
revision of the patch.
This commit is contained in:
Yasuhiro KIMURA 2020-06-02 03:23:45 +09:00 committed by Daniel Shahaf
parent c479107f70
commit a44f44d6e6
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2020-06-03 Yasuhiro KIMURA <yasu@utahime.org>
* 45950: configure.ac: Fix 'make install' in out-of-tree
tarball builds.
2020-06-01 Matthew Martin <phy1729@gmail.com>
* 45940: Completion/BSD/Command/_kdump,

View File

@ -3178,6 +3178,22 @@ AC_CONFIG_COMMANDS([stamp-h], [echo >stamp-h])
AC_OUTPUT
dnl Copy pre-built man pages and help files, for tarball out-of-tree builds.
for manpage in `cd ${srcdir} && echo Doc/*.1`; do
if test x"$manpage" != x"Doc/*.1" && ! test -e "${manpage}"; then
cp ${srcdir}/${manpage} ./Doc/
fi
done
if ! test -e Doc/help.txt; then
cp ${srcdir}/Doc/help.txt ./Doc/
fi
mkdir -p ./Doc/help
for helpfile in `cd ${srcdir} && echo Doc/help/*`; do
if test x"$helpfile" != x"Doc/help/*" && ! test -e "${helpfile}"; then
cp ${srcdir}/${helpfile} ./Doc/help/
fi
done
eval "zshbin1=${bindir}"
eval "zshbin2=${zshbin1}"
eval "zshman1=${mandir}"