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>
This commit is contained in:
parent
828658f8fe
commit
bf19d5e4b2
@ -2591,6 +2591,12 @@ interrupted, published, and collaborated on while in progress.")
|
|||||||
#:install-source? #f
|
#:install-source? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'build 'build-man-pages
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "src/github.com/git-lfs/git-lfs"
|
(with-directory-excursion "src/github.com/git-lfs/git-lfs"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user