From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbCKk-0003cf-Hd for guix-patches@gnu.org; Fri, 28 Jul 2017 16:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbCKg-0006pi-HU for guix-patches@gnu.org; Fri, 28 Jul 2017 16:58:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57722) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbCKg-0006pc-DY for guix-patches@gnu.org; Fri, 28 Jul 2017 16:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dbCKg-00012h-7X for guix-patches@gnu.org; Fri, 28 Jul 2017 16:58:02 -0400 Subject: [bug#27856] [PATCH] gnu: erlang: Fix install-doc phase. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170728001051.1778-1-petermikkelsen10@gmail.com> Date: Fri, 28 Jul 2017 22:56:52 +0200 In-Reply-To: <20170728001051.1778-1-petermikkelsen10@gmail.com> (Peter Mikkelsen's message of "Fri, 28 Jul 2017 02:10:51 +0200") Message-ID: <874ltwl1pn.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Peter Mikkelsen Cc: 27856@debbugs.gnu.org Hi, Peter Mikkelsen skribis: > * gnu/packages/erlang.scm (erlang): Install > the man-pages to the correct directory. > --- > gnu/packages/erlang.scm | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-) > > diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm > index 07f117e28..6c702a2ba 100644 > --- a/gnu/packages/erlang.scm > +++ b/gnu/packages/erlang.scm > @@ -153,16 +153,15 @@ > (lambda* (#:key inputs outputs #:allow-other-keys) > (let* ((out (assoc-ref outputs "out")) > (manpages (assoc-ref inputs "erlang-manpages")) > - (share (string-append out "/share/"))) > - (mkdir-p share) > - (mkdir-p (string-append share "/misc/erlang")) > - (with-directory-excursion share > + (release-dir (string-append out "/lib/erlang"))) > + (with-directory-excursion release-dir > (and > (zero? (system* "tar" "xvf" manpages)) > (rename-file "COPYRIGHT" > - (string-append share "/misc/erlang/COPYRIG= HT")) > - ;; Delete superfluous file. > - (delete-file "PR.template"))))))))) > + (string-append release-dir "/misc/COPYRIGH= T")) IIUC, this installs man pages and =E2=80=98COPYRIGHT=E2=80=99 to OUT/lib/er= lang, right? Shouldn=E2=80=99t it go to OUT/share/erlang instead? Thanks, Ludo=E2=80=99.