guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: s6: Install documentation.


From: guix-commits
Subject: branch master updated: gnu: s6: Install documentation.
Date: Sun, 26 Jan 2020 22:42:31 -0500

This is an automated email from the git hooks/post-receive script.

iyzsong pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 47ea2ad  gnu: s6: Install documentation.
47ea2ad is described below

commit 47ea2ad196a41a3c3de3e5fa970b6881495c0e8f
Author: 宋文武 <address@hidden>
AuthorDate: Mon Jan 27 11:39:29 2020 +0800

    gnu: s6: Install documentation.
    
    * gnu/packages/skarnet.scm (s6)[arguments]: Add 'install-doc' phase.
---
 gnu/packages/skarnet.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm
index 3768695..2db4224 100644
--- a/gnu/packages/skarnet.scm
+++ b/gnu/packages/skarnet.scm
@@ -116,7 +116,7 @@ complexity.")))
    (inputs `(("skalibs" ,skalibs)
              ("execline" ,execline)))
    (arguments
-    '(#:configure-flags (list
+    `(#:configure-flags (list
                         (string-append "--with-lib="
                                        (assoc-ref %build-inputs "skalibs")
                                        "/lib/skalibs")
@@ -126,7 +126,15 @@ complexity.")))
                         (string-append "--with-sysdeps="
                                        (assoc-ref %build-inputs "skalibs")
                                        "/lib/skalibs/sysdeps"))
-      #:tests? #f))                    ; no tests exist
+      #:tests? #f                       ; no tests exist
+      #:phases
+      (modify-phases %standard-phases
+        (add-after 'install 'install-doc
+          (lambda* (#:key outputs #:allow-other-keys)
+            (let* ((out (assoc-ref outputs "out"))
+                   (doc (string-append out "/share/doc/s6-" ,version)))
+              (copy-recursively "doc" doc)
+              #t))))))
    (home-page "https://skarnet.org/software/s6";)
    (license isc)
    (synopsis "Small suite of programs for process supervision")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]