all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27856] [PATCH] gnu: erlang: Fix install-doc phase.
@ 2017-07-28  0:10 Peter Mikkelsen
  2017-07-28 20:56 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Mikkelsen @ 2017-07-28  0:10 UTC (permalink / raw)
  To: 27856

* 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-29 20:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28  0:10 [bug#27856] [PATCH] gnu: erlang: Fix install-doc phase Peter Mikkelsen
2017-07-28 20:56 ` 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

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.