Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'make install' fails when build directory is differnet from that of source tree.
Daniel Shahaf wrote on Fri, 29 May 2020 22:54 +0000:
> +++ b/configure.ac
> @@ -3178,6 +3178,13 @@ AC_CONFIG_COMMANDS([stamp-h], [echo >stamp-h])
> +dnl Copy pre-built man pages, for tarball out-of-tree builds.
> +for manpage in ${srcdir}/Doc/*.1; do
> + if test x"$manpage" != x*"*"*; then
> + cp ${manpage} ./Doc/
> + fi
> +done
In second thought, this is going to break _in-tree_ tarball builds,
isn't it? —
% cp ./foo ./
cp: './foo' and './foo' are the same file
%
So, how'd I check whether the build is in-tree or out-of-tree? Can I
just compare $abs_srcdir to $abs_builddir, or should I touch a file in
one and see whether it appears in the other?
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author