guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: git-lfs: Make usage text available.


From: guix-commits
Subject: branch master updated: gnu: git-lfs: Make usage text available.
Date: Thu, 27 Aug 2020 17:50:19 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new bf19d5e  gnu: git-lfs: Make usage text available.
bf19d5e is described below

commit bf19d5e4b26a2e38fe93a45f9341e14476ea5f82
Author: Prafulla Giri <pratheblackdiamond@gmail.com>
AuthorDate: Wed Aug 26 20:16:54 2020 +0545

    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>
---
 gnu/packages/version-control.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 3b23e8b..bc8e5f2 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]