From adb8a5b93f0b3b30891dd78b4c1eb394e7c564bd Mon Sep 17 00:00:00 2001 From: Grigory Shepelev Date: Wed, 4 Mar 2026 15:01:26 +0300 Subject: [PATCH] gnu: guile-wayland-scm: Install Info manual. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/guile-xyz.scm (guile-wayland-scm)[arguments]: Add ‘install-info-documentation’ phase. Change-Id: If83c6cf374f9c027eec2a57c28e3fb578577f907 Signed-off-by: Ludovic Courtès Merges: #6881 --- gnu/packages/guile-xyz.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index cea6361d6d..f9f43a27a2 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3669,7 +3669,13 @@ Probably can be replaced with guile's built-in file-descriptor procedures.") (client-file (string-append dir "/client.scm"))) (substitute* (list client-file) (("WAYLAND_BASE_PROTOCOL_PATH") - core-protocol-file)))))))) + core-protocol-file))))) + (add-after 'build 'install-info-documentation + (lambda* (#:key inputs #:allow-other-keys) + (let* ((share (string-append #$output "/share")) + (info (string-append share "/info/"))) + (mkdir-p info) + (invoke "makeinfo" "wayland-scm.texi" "-o" info))))))) (native-inputs (list guile-3.0 pkg-config texinfo autoconf automake)) (inputs (list wayland wayland-protocols)) (propagated-inputs (list guile-wayland-scm-socket guile-wayland-scm-shm))