[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: direnv: Install the documentation.
From: |
guix-commits |
Subject: |
branch master updated: gnu: direnv: Install the documentation. |
Date: |
Sun, 25 Apr 2021 13:42:27 -0400 |
This is an automated email from the git hooks/post-receive script.
lfam pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 862a886 gnu: direnv: Install the documentation.
862a886 is described below
commit 862a88612f903ffe5cca1213ba40010876d19c62
Author: Dion Mendel <guix@dm9.info>
AuthorDate: Sun Apr 25 18:57:21 2021 +0800
gnu: direnv: Install the documentation.
* gnu/packages/shellutils.scm (direnv)[arguments]: Add a new
'install-manpages'
phase.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/shellutils.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index c7a941d..b60cb08 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2019 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 aecepoglu <aecepoglu@fastmail.fm>
+;;; Copyright © 2020 Dion Mendel <guix@dm9.info>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -254,6 +255,15 @@ are already there.")
;; so delete the extra source code here.
(delete-file-recursively "src/github.com/direnv/direnv/vendor")
#t))
+ (add-after 'install 'install-manpages
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (man (string-append out "/share/man/man1")))
+ (mkdir-p man)
+ (with-directory-excursion "src/github.com/direnv/direnv"
+ (install-file "man/direnv.1" man)
+ (install-file "man/direnv-stdlib.1" man)
+ (install-file "man/direnv.toml.1" man)))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: direnv: Install the documentation.,
guix-commits <=