From c4f9895bfe2ad77be8ca31706d57d7ee2852b6ac Mon Sep 17 00:00:00 2001 From: Josselin Poiret Date: Fri, 29 Dec 2023 23:05:14 +0100 Subject: [PATCH] gnu: docbook2x: Fix build. * gnu/packages/docbook.scm (docbook2x): Build from source and fix build. Change-Id: Iefc3e068217875b5de5e79369b24a55b573df042 --- gnu/packages/docbook.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm index cf30b95ab2..02cea45e97 100644 --- a/gnu/packages/docbook.scm +++ b/gnu/packages/docbook.scm @@ -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"))