guix-commits
[Top][All Lists]
Advanced

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

21/23: gnu: calibre: Install man pages.


From: guix-commits
Subject: 21/23: gnu: calibre: Install man pages.
Date: Sun, 5 May 2019 11:15:27 -0400 (EDT)

dannym pushed a commit to branch master
in repository guix.

commit d6dfe8b6341be432d3a45e6ff86e78edb247f266
Author: Brendan Tildesley <address@hidden>
Date:   Sat May 4 02:42:29 2019 +1000

    gnu: calibre: Install man pages.
    
    * gnu/packages/ebook.scm (calibre)[arguments]<#:phases>[install-man-pages]:
    New phase.
    
    Signed-off-by: Danny Milosavljevic <address@hidden>
---
 gnu/packages/ebook.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 9408d55..257fbd2 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -206,6 +206,12 @@
              (invoke "python2" "setup.py" "mathjax""--system-mathjax" 
"--path-to-mathjax"
                      (string-append (assoc-ref inputs "js-mathjax") 
"/share/javascript/mathjax"))
              (invoke "python2" "setup.py" "rapydscript")))
+         (add-after 'install 'install-man-pages
+           (lambda* (#:key outputs #:allow-other-keys)
+             (copy-recursively
+              "man-pages"
+              (string-append (assoc-ref outputs "out") "/share/man"))
+             #t))
          ;; The font TTF files are used in some miscellaneous tests, so we
          ;; unbundle them here to avoid patching the tests.
          (add-after 'install 'unbundle-font-liberation



reply via email to

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