[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27856] [PATCH] gnu: erlang: Fix install-doc phase.
From: |
Peter Mikkelsen |
Subject: |
[bug#27856] [PATCH] gnu: erlang: Fix install-doc phase. |
Date: |
Fri, 28 Jul 2017 02:10:51 +0200 |
* 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