mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: squashfs-tools: Install some documentation.
* gnu/packages/compression.scm (squashfs-tools)[arguments]: Add a new 'install-documentation phase. Remove an obsolete #t whilst here.
This commit is contained in:
parent
30508a4f74
commit
5372f7dd5a
1 changed files with 7 additions and 2 deletions
|
@ -887,8 +887,13 @@ time for compression ratio.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda _
|
(lambda _
|
||||||
(chdir "squashfs-tools")
|
(chdir "squashfs-tools")))
|
||||||
#t)))))
|
(add-after 'install 'install-documentation
|
||||||
|
;; Install what very little usage documentation is provided.
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(doc (string-append out "/share/doc/" ,name)))
|
||||||
|
(install-file "../USAGE" doc)))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("lz4" ,lz4)
|
`(("lz4" ,lz4)
|
||||||
("lzo" ,lzo)
|
("lzo" ,lzo)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue