mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 01:26:43 +01:00
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>
This commit is contained in:
parent
489e40d745
commit
eeb9b9b6ac
1 changed files with 7 additions and 0 deletions
|
@ -883,11 +883,18 @@ (define-public docbook2x
|
|||
"<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
|
||||
|
|
Loading…
Reference in a new issue