diff options
author | Bruno Victal <mirai@makinata.eu> | 2023-10-09 21:06:02 +0100 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-10-10 21:10:56 -0400 |
commit | 350fe414d87415ad59a7509087752fb815773123 (patch) | |
tree | 3a9922a1d654082443b0d3e4be25a7f0fe92a75f /gnu | |
parent | 6477c0f9facc84275e53688080c023b9f25ddede (diff) |
gnu: docbook2x: Split documentation.
* gnu/packages/docbook.scm (docbook2x)[arguments]<#:phases>: Add
'move-doc phase.
[outputs]: Add 'doc output.
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 9c3ee6e26a..25761c5e5a 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -883,11 +883,18 @@ Detect the differences in markup between two SGML files. "<bridgehead renderas=\"sect2\">")) ;; Force a new autoreconf run. (delete-file "configure"))))) + (outputs '("out" "doc")) (build-system gnu-build-system) (arguments (list #: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 'install 'wrap-programs (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((programs |