aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/docbook.scm
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-10-09 21:06:07 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:42:09 +0200
commit3c68b3847afe733846bc0d41f832dd871bd37912 (patch)
tree3dcc6e547464697fefe09a0cf5de5a4db0685cc0 /gnu/packages/docbook.scm
parent28f4fd9ef91d6ca6122215323d6aaffb17713c54 (diff)
downloadguix-3c68b3847afe733846bc0d41f832dd871bd37912.tar.gz
guix-3c68b3847afe733846bc0d41f832dd871bd37912.zip
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/packages/docbook.scm')
-rw-r--r--gnu/packages/docbook.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 9a392d3a5b..74dbd02138 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
@@ -707,6 +708,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)