From 81d95a121aa2c73c72f26266c2971dc398380d55 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 27 Mar 2017 20:10:44 +0200 Subject: gnu: corkscrew: Install the README file. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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(-) (limited to 'gnu/packages') diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index b5c73ea85e..4ac9a75c71 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2016 Leo Famulari ;;; Copyright © 2016 Nicolas Goaziou ;;; Copyright © 2016 Christopher Allan Webber +;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -290,7 +291,13 @@ (define-public corkscrew (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 -- cgit v1.2.3