gnu: docbook2x: Fix build.

* gnu/packages/docbook.scm (docbook2x): Build from source and fix build.

Change-Id: Iefc3e068217875b5de5e79369b24a55b573df042
This commit is contained in:
Josselin Poiret 2023-12-29 23:05:14 +01:00 committed by Ludovic Courtès
parent 609acbbc29
commit c4f9895bfe
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -923,11 +923,15 @@ (define-public docbook2x
(build-system gnu-build-system)
(arguments
(list
#:make-flags ''("AM_MAKEINFOHTMLFLAGS=\"--no-split\"")
#:modules '((guix build gnu-build-system)
(guix build utils)
(srfi srfi-26))
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'clean
(lambda _
(invoke "make" "clean")))
(add-after 'install 'move-doc
(lambda _
(let* ((old (string-append #$output "/share/doc"))