gnu: corkscrew: Deduplicate documentation directories.

* gnu/packages/ssh.scm (corkscrew)[arguments]: Install documentation to
the correct versioned subdirectory, as already done by the build system.
This commit is contained in:
Tobias Geerinckx-Rice 2018-06-22 21:45:30 +02:00
parent 7c1a64aa5c
commit d26563323d
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -331,7 +331,7 @@ (define-public corkscrew
(arguments
;; Replace configure phase as the ./configure script does not link
;; CONFIG_SHELL and SHELL passed as parameters
'(#:phases
`(#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs inputs system build target
@ -351,7 +351,7 @@ (define-public corkscrew
(add-after 'install 'install-documentation
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(doc (string-append out "/share/doc/corkscrew")))
(doc (string-append out "/share/doc/" ,name "-" ,version)))
(install-file "README" doc)
#t))))))
(home-page "http://www.agroman.net/corkscrew")