From 5372f7dd5a422f8f3c5aac5e1824f322919a265a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 11 Jun 2021 00:32:43 +0200 Subject: 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. --- gnu/packages/compression.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gnu/packages') 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) -- cgit v1.2.3