mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: vdirsyncer: Fix building man page.
* gnu/packages/dav.scm (vdirsyncer)[arguments]: Add custom phase to patch function retrieving the version string.
This commit is contained in:
parent
d30d3e3f60
commit
dc1182751c
1 changed files with 5 additions and 0 deletions
|
@ -80,6 +80,11 @@ (define-public vdirsyncer
|
||||||
(if tests?
|
(if tests?
|
||||||
(invoke "make" "test")
|
(invoke "make" "test")
|
||||||
#t)))
|
#t)))
|
||||||
|
(add-after 'unpack 'patch-version-call
|
||||||
|
(lambda _
|
||||||
|
(substitute* "docs/conf.py"
|
||||||
|
(("^release.*") (string-append "release = '" ,version "'\n")))
|
||||||
|
#t))
|
||||||
(add-after 'install 'manpage
|
(add-after 'install 'manpage
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(invoke "make" "--directory=docs/" "man")
|
(invoke "make" "--directory=docs/" "man")
|
||||||
|
|
Loading…
Reference in a new issue