diff options
| author | Bruno Victal <mirai@makinata.eu> | 2023-10-09 21:06:02 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:42:08 +0200 |
| commit | eeb9b9b6ac31185737a15e4b0c8dc600e4a610eb (patch) | |
| tree | eb2e18f2d412f5e846561de5d3ae6d9a55eb568a /gnu | |
| parent | 489e40d745d401acfed4b56b6a7814a4b926bbed (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 d203867802f..635310941d7 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm | |||
| @@ -883,11 +883,18 @@ Detect the differences in markup between two SGML files. | |||
| 883 | "<bridgehead renderas=\"sect2\">")) | 883 | "<bridgehead renderas=\"sect2\">")) |
| 884 | ;; Force a new autoreconf run. | 884 | ;; Force a new autoreconf run. |
| 885 | (delete-file "configure"))))) | 885 | (delete-file "configure"))))) |
| 886 | (outputs '("out" "doc")) | ||
| 886 | (build-system gnu-build-system) | 887 | (build-system gnu-build-system) |
| 887 | (arguments | 888 | (arguments |
| 888 | (list | 889 | (list |
| 889 | #:phases | 890 | #:phases |
| 890 | #~(modify-phases %standard-phases | 891 | #~(modify-phases %standard-phases |
| 892 | (add-after 'install 'move-doc | ||
| 893 | (lambda _ | ||
| 894 | (let* ((old (string-append #$output "/share/doc")) | ||
| 895 | (new (string-append #$output:doc "/share/doc"))) | ||
| 896 | (mkdir-p (dirname new)) | ||
| 897 | (rename-file old new)))) | ||
| 891 | (add-after 'install 'wrap-programs | 898 | (add-after 'install 'wrap-programs |
| 892 | (lambda* (#:key inputs outputs #:allow-other-keys) | 899 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 893 | (let* ((programs | 900 | (let* ((programs |
