summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorPrafulla Giri <pratheblackdiamond@gmail.com>2020-08-26 20:16:54 +0545
committerEfraim Flashner <efraim@flashner.co.il>2020-08-28 00:46:42 +0300
commitbf19d5e4b26a2e38fe93a45f9341e14476ea5f82 (patch)
tree6c73965521137e2835677644deea571dd11e76b9 /gnu
parent828658f8fe6721215dbe5fd49702ae63121a8573 (diff)
downloadguix-bf19d5e4b26a2e38fe93a45f9341e14476ea5f82.tar.gz
gnu: git-lfs: Make usage text available.
* gnu/packages/version-control.scm (git-lfs)[arguments]: Add phase
'man-gen to make usage text available for embedding for the 'build
phase.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/version-control.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 3b23e8b873..bc8e5f21ab 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2591,6 +2591,12 @@ interrupted, published, and collaborated on while in progress.")
        #:install-source? #f
        #:phases
        (modify-phases %standard-phases
+         (add-before 'build 'man-gen
+           ;; Without this, the binary generated in 'build
+           ;; phase won't have any embedded usage-text.
+           (lambda _
+             (with-directory-excursion "src/github.com/git-lfs/git-lfs"
+               (invoke "make" "mangen"))))
          (add-after 'build 'build-man-pages
            (lambda _
              (with-directory-excursion "src/github.com/git-lfs/git-lfs"