me
/
guix
Archived
1
0
Fork 0

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

View File

@ -887,8 +887,13 @@ time for compression ratio.")
(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)