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
1 changed files with 2 additions and 2 deletions

View File

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