diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-06-11 00:32:43 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-06-11 00:37:14 +0200 |
commit | 5372f7dd5a422f8f3c5aac5e1824f322919a265a (patch) | |
tree | 1b8ed46597f92f98c721985ccc2602fc72d7455d | |
parent | 30508a4f744c76fc96ebbb414cdfbfc8e4a6afe1 (diff) | |
download | guix-5372f7dd5a422f8f3c5aac5e1824f322919a265a.tar guix-5372f7dd5a422f8f3c5aac5e1824f322919a265a.tar.gz |
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.
-rw-r--r-- | gnu/packages/compression.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index c1677f066f..156219f3f3 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -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) |