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:
Tobias Geerinckx-Rice 2021-06-11 00:32:43 +02:00
parent 30508a4f74
commit 5372f7dd5a
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -887,8 +887,13 @@ (define-public squashfs-tools
(modify-phases %standard-phases
(replace 'configure
(lambda _
(chdir "squashfs-tools")
#t)))))
(chdir "squashfs-tools")))
(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
`(("lz4" ,lz4)
("lzo" ,lzo)