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:
parent
7c1a64aa5c
commit
d26563323d
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue