diff options
author | Bruno Victal <mirai@makinata.eu> | 2023-10-09 21:06:07 +0100 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-10-10 21:10:57 -0400 |
commit | bd3f54eed1a3e127949fa0f3a812bb1e1bcc5eb6 (patch) | |
tree | 7ca3d5d29ff85a0fd6cb1455102355eadccb703d /gnu | |
parent | 7e1fccb2ec8925f163065eeb568d0b1b4a1184f0 (diff) |
gnu: dblatex: Split documentation.
* gnu/packages/docbook.scm (dblatex)[arguments]<#:phases>: Add 'move-doc.
[outputs]: Add doc.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/docbook.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm index 03495a17e8..3c00071625 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -692,6 +692,7 @@ the in DocBook SGML DTDs.") (sha256 (base32 "0yd09nypswy3q4scri1dg7dr99d7gd6r2dwx0xm81l9f4y32gs0n")))) + (outputs '("out" "doc")) (build-system python-build-system) (arguments (list @@ -706,6 +707,12 @@ the in DocBook SGML DTDs.") #:tests? #f ;no test suite #:phases #~(modify-phases %standard-phases + (add-after 'install 'move-doc + (lambda _ + (let ((old (string-append #$output "/share/doc")) + (new (string-append #$output:doc "/share/doc"))) + (mkdir-p (dirname new)) + (rename-file old new)))) (add-after 'wrap 'set-path (lambda* (#:key inputs #:allow-other-keys) (let ((path (map (lambda (x) |