mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: unison: Fix manual generation.
* gnu/packages/ocaml.scm (unison)[arguments]: Fix documentation generation.
This commit is contained in:
parent
22d1cb7ffa
commit
50ab554bd5
1 changed files with 4 additions and 8 deletions
|
@ -816,14 +816,10 @@ (define-public unison
|
|||
(let ((doc (string-append (assoc-ref outputs "doc")
|
||||
"/share/doc/unison")))
|
||||
(mkdir-p doc)
|
||||
;; This is a workaround to prevent a build failure. Running
|
||||
;; make docs somehow allows it to pass, but the generated
|
||||
;; documentation is not pretty.
|
||||
(catch #t
|
||||
(lambda _
|
||||
(invoke "make" "docs"
|
||||
"TEXDIRECTIVES=\\\\draftfalse"))
|
||||
(lambda _ #t))
|
||||
;; Remove an '\n' that prevents the doc to be generated
|
||||
;; correctly with newer hevea.
|
||||
(substitute* "doc/local.tex"
|
||||
(("----SNIP----.*") "----SNIP----"))
|
||||
;; This file needs write-permissions, because it's
|
||||
;; overwritten by 'docs' during documentation generation.
|
||||
(chmod "src/strings.ml" #o600)
|
||||
|
|
Loading…
Reference in a new issue