guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: vdirsyncer: Fix building man page.


From: guix-commits
Subject: branch core-updates updated: gnu: vdirsyncer: Fix building man page.
Date: Sun, 26 Apr 2020 15:55:51 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new dc11827  gnu: vdirsyncer: Fix building man page.
dc11827 is described below

commit dc1182751cfd62d2b91f80fed322fd1e016e4b72
Author: Efraim Flashner <address@hidden>
AuthorDate: Sun Apr 26 22:55:29 2020 +0300

    gnu: vdirsyncer: Fix building man page.
    
    * gnu/packages/dav.scm (vdirsyncer)[arguments]: Add custom phase to
    patch function retrieving the version string.
---
 gnu/packages/dav.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/dav.scm b/gnu/packages/dav.scm
index 5362d35..1b837df 100644
--- a/gnu/packages/dav.scm
+++ b/gnu/packages/dav.scm
@@ -80,6 +80,11 @@ clients.")
             (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]