From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: Re: [PATCH] build: Fix out-of-tree building of documentation. Date: Sun, 10 Jan 2016 11:34:45 +0100 Message-ID: <871t9pyb7e.fsf@T420.taylan> References: <87fuy6ydmj.fsf@T420.taylan> <87vb72784u.fsf@gnu.org> <87a8odydaq.fsf@T420.taylan> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIDKk-0000R1-Cp for guix-devel@gnu.org; Sun, 10 Jan 2016 05:34:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIDKi-0003wX-9P for guix-devel@gnu.org; Sun, 10 Jan 2016 05:34:50 -0500 In-Reply-To: <87a8odydaq.fsf@T420.taylan> ("Taylan Ulrich \=\?utf-8\?Q\?\=5C\=22Bay\=C4\=B1rl\=C4\=B1\=2FKammer\=5C\=22\=22's\?\= message of "Sun, 10 Jan 2016 10:49:33 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable taylanbayirli@gmail.com (Taylan Ulrich "Bay=C4=B1rl=C4=B1/Kammer") writes: > .png.eps: > - convert "$<" "$@-tmp.eps" > - mv "$@-tmp.eps" "$@" > + convert "$<" "$(srcdir)/$@-tmp.eps" > + mv "$(srcdir)/$@-tmp.eps" "$(srcdir)/$@" Whoops, looks like that rule mustn't be changed. Updated patch: --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-build-Fix-out-of-tree-building-of-documentation.patch Content-Transfer-Encoding: quoted-printable >From 80c928d93b9f87e227684a53dc4ce4477698c86b Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Taylan=3D20Ulrich=3D20Bay=3DC4=3DB1rl=3DC4=3DB1/Kammer?=3D Date: Sun, 10 Jan 2016 10:14:43 +0100 Subject: [PATCH] build: Fix out-of-tree building of documentation. * doc.am (.dot.png, .dot.pdf, .dot.eps): Put the generated files into $(srcdir). --- doc.am | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc.am b/doc.am index e3a91cc..8a5cfdc 100644 --- a/doc.am +++ b/doc.am @@ -1,6 +1,7 @@ # GNU Guix --- Functional package management for GNU -# Copyright =C2=A9 2012, 2013, 2014, 2015 Ludovic Court=C3=A8s +# Copyright =C2=A9 2012, 2013, 2014, 2015, 2016 Ludovic Court=C3=A8s # Copyright =C2=A9 2013 Andreas Enge +# Copyright =C2=A9 2016 Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer # # This file is part of GNU Guix. # @@ -65,16 +66,16 @@ DOT_OPTIONS =3D \ -Nfontsize=3D9 -Nheight=3D.1 -Nwidth=3D.1 =20 .dot.png: - $(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$@.tmp" - mv "$@.tmp" "$@" + $(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp" + mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" =20 .dot.pdf: - $(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$@.tmp" - mv "$@.tmp" "$@" + $(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp" + mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" =20 .dot.eps: - $(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$@.tmp" - mv "$@.tmp" "$@" + $(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp" + mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" =20 .png.eps: convert "$<" "$@-tmp.eps" --=20 2.6.3 --=-=-=--