guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: corkscrew: Install the README file.


From: Tobias Geerinckx-Rice
Subject: 01/02: gnu: corkscrew: Install the README file.
Date: Mon, 27 Mar 2017 14:19:07 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 81d95a121aa2c73c72f26266c2971dc398380d55
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Mar 27 20:10:44 2017 +0200

    gnu: corkscrew: Install the README file.
    
    * gnu/packages/ssh.scm (corkscrew)[arguments]: Add a very basic
    ‘install-documentation’ phase.
---
 gnu/packages/ssh.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index b5c73ea..4ac9a75 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2016 Leo Famulari <address@hidden>
 ;;; Copyright © 2016 Nicolas Goaziou <address@hidden>
 ;;; Copyright © 2016 Christopher Allan Webber <address@hidden>
+;;; Copyright © 2017 Tobias Geerinckx-Rice <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -290,7 +291,13 @@ libssh library.")
                (setenv "CONFIG_SHELL" bash)
                (zero? (apply system* bash
                              (string-append "." "/configure")
-                             flags))))))))
+                             flags)))))
+         (add-after 'install 'install-documentation
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (doc (string-append out "/share/doc/corkscrew")))
+               (install-file "README" doc)
+               #t))))))
     (home-page "http://www.agroman.net/corkscrew";)
     (synopsis "SSH tunneling through HTTP(S) proxies")
     (description



reply via email to

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