From aef9a86444f8163082341e05c341b9346e961db4 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 24 Jul 2020 20:58:42 -0400 Subject: b4: Install manpages --- km-packages/misc.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/km-packages/misc.scm b/km-packages/misc.scm index 161ad9c..8ea63b8 100644 --- a/km-packages/misc.scm +++ b/km-packages/misc.scm @@ -185,6 +185,17 @@ (base32 "1vwl6rzxqb6h5dsc9466vjn4ysy7xfdkizh8l0dql1bd6rvibbqn")))) (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'install-manpages + (lambda* (#:key outputs #:allow-other-keys) + (let* ((man (string-append (assoc-ref outputs "out") + "/man/man5/"))) + (mkdir-p man) + (for-each (lambda (file) (install-file file man)) + (find-files "man"))) + #t))))) (inputs `(("python-requests" ,python-requests))) (home-page "https://git.kernel.org/pub/scm/utils/b4/b4.git") -- cgit v1.2.3