mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -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?
|
||||
(invoke "make" "test")
|
||||
#t)))
|
||||
(add-after 'unpack 'patch-version-call
|
||||
(lambda _
|
||||
(substitute* "docs/conf.py"
|
||||
(("^release.*") (string-append "release = '" ,version "'\n")))
|
||||
#t))
|
||||
(add-after 'install 'manpage
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(invoke "make" "--directory=docs/" "man")
|
||||
|
|
Loading…
Reference in a new issue