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:
Efraim Flashner 2020-04-26 22:55:29 +03:00
parent d30d3e3f60
commit dc1182751c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

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