From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1626 invoked from network); 29 May 2020 23:43:26 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 29 May 2020 23:43:26 -0000 Received: (qmail 10539 invoked by alias); 29 May 2020 23:43:18 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45938 Received: (qmail 126 invoked by uid 1010); 29 May 2020 23:43:18 -0000 X-Qmail-Scanner-Diagnostics: from out3-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25821. spamassassin: 3.4.4. Clear:RC:0(66.111.4.27):SA:0(-2.6/5.0):. Processed in 0.692583 secs); 29 May 2020 23:43:18 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvledgvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfgjfhfogggtgfesthhqtddtredtjeenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnhephfdtteefheevuedthedutdeifeegteettdejtdffheduieei jeelteetkeduteehnecukfhppeejledrudejiedrfeelrdeileenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurdhssegurghnihgvlhdrshhh rghhrghfrdhnrghmvg X-ME-Proxy: Date: Fri, 29 May 2020 23:42:40 +0000 From: Daniel Shahaf To: Yasuhiro KIMURA , zsh-workers@zsh.org Subject: Re: 'make install' fails when build directory is differnet from that of source tree. Message-ID: <20200529234240.3dae276e@tarpaulin.shahaf.local2> In-Reply-To: <20200529225401.640a2b75@tarpaulin.shahaf.local2> References: <20200529.150752.1706439437681626208.yasu@utahime.org> <20200529225401.640a2b75@tarpaulin.shahaf.local2> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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" !=3D x*"*"*; then > + cp ${manpage} ./Doc/ > + fi > +done In second thought, this is going to break _in-tree_ tarball builds, isn't it?=C2=A0=E2=80=94 % cp ./foo ./ cp: './foo' and './foo' are the same file %=20 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