gnu: calibre: Install man pages.

* gnu/packages/ebook.scm (calibre)[arguments]<#:phases>[install-man-pages]:
New phase.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Brendan Tildesley 2019-05-04 02:42:29 +10:00 committed by Danny Milosavljevic
parent f3f017dbf0
commit d6dfe8b634
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -206,6 +206,12 @@ (define-public calibre
(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