me
/
guix
Archived
1
0
Fork 0

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>
master
Prafulla Giri 2020-08-26 20:16:54 +05:45 committed by Efraim Flashner
parent 828658f8fe
commit bf19d5e4b2
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 0 deletions

View File

@ -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"