mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: snd: Version documentation directory.
* gnu/packages/audio.scm (snd)[arguments]: Install documentation to the conventional location. Remove redundant MKDIR-P. Align cosmetically.
This commit is contained in:
parent
84979374c2
commit
4ae9274ae9
1 changed files with 5 additions and 5 deletions
|
@ -3253,7 +3253,7 @@ (define-public snd
|
|||
"1vm0dy5qlycqkima7y5ajzvazyjybifa803fabjcpncjz08c26vp"))))
|
||||
(build-system glib-or-gtk-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; no tests
|
||||
`(#:tests? #f ; no tests
|
||||
#:out-of-source? #f ; for the 'install-doc' phase
|
||||
#:configure-flags
|
||||
(let* ((out (assoc-ref %outputs "out"))
|
||||
|
@ -3265,13 +3265,13 @@ (define-public snd
|
|||
(add-after 'install 'install-doc
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(docdir (string-append out "/share/doc/snd")))
|
||||
(mkdir-p docdir)
|
||||
(doc (string-append out "/share/doc/"
|
||||
,name "-" ,version)))
|
||||
(for-each
|
||||
(lambda (f)
|
||||
(install-file f docdir))
|
||||
(install-file f doc))
|
||||
(find-files "." "\\.html$|COPYING"))
|
||||
(copy-recursively "pix" (string-append docdir "/pix"))
|
||||
(copy-recursively "pix" (string-append doc "/pix"))
|
||||
#t))))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
|
|
Loading…
Reference in a new issue