all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Mikkelsen <petermikkelsen10@gmail.com>
To: 27856@debbugs.gnu.org
Subject: [bug#27856] [PATCH] gnu: erlang: Fix install-doc phase.
Date: Fri, 28 Jul 2017 02:10:51 +0200	[thread overview]
Message-ID: <20170728001051.1778-1-petermikkelsen10@gmail.com> (raw)

* 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/COPYRIGHT"))
-                 ;; Delete superfluous file.
-                 (delete-file "PR.template")))))))))
+                              (string-append release-dir "/misc/COPYRIGHT"))
+                 ;; Delete superfluous files.
+                 (delete-file "PR.template")
+                 (delete-file "README.md")))))))))
     (home-page "http://erlang.org/")
     (synopsis "The Erlang programming language")
     (description
-- 
2.13.3

             reply	other threads:[~2017-07-27 22:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-28  0:10 Peter Mikkelsen [this message]
2017-07-28 20:56 ` [bug#27856] [PATCH] gnu: erlang: Fix install-doc phase Ludovic Courtès
2017-07-28 21:02   ` Peter Mikkelsen
2017-07-29 12:12     ` Ludovic Courtès
2017-07-29 15:13       ` Peter Mikkelsen
2017-07-29 20:31         ` bug#27856: " Ludovic Courtès
2017-07-29  9:35   ` [bug#27856] " Peter Mikkelsen

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=20170728001051.1778-1-petermikkelsen10@gmail.com \
    --to=petermikkelsen10@gmail.com \
    --cc=27856@debbugs.gnu.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.