zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Yasuhiro KIMURA <yasu@utahime.org>, zsh-workers@zsh.org
Subject: Re: 'make install' fails when build directory is differnet from that of source tree.
Date: Fri, 29 May 2020 23:42:40 +0000	[thread overview]
Message-ID: <20200529234240.3dae276e@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <20200529225401.640a2b75@tarpaulin.shahaf.local2>

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

  reply	other threads:[~2020-05-29 23:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29  6:07 Yasuhiro KIMURA
2020-05-29 22:54 ` Daniel Shahaf
2020-05-29 23:42   ` Daniel Shahaf [this message]
2020-05-30  9:05   ` Yasuhiro KIMURA
2020-05-31  1:39     ` Daniel Shahaf
2020-05-31  5:36       ` Yasuhiro KIMURA
2020-05-31  1:57     ` Daniel Shahaf
2020-05-31  7:46       ` Yasuhiro KIMURA
2020-06-01  8:03         ` Daniel Shahaf
2020-06-01 18:23           ` Yasuhiro KIMURA
2020-06-03  1:14             ` Daniel Shahaf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200529234240.3dae276e@tarpaulin.shahaf.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=yasu@utahime.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).