1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: guile-wayland-scm: Install Info manual.

* gnu/packages/guile-xyz.scm (guile-wayland-scm)[arguments]: Add
‘install-info-documentation’ phase.

Change-Id: If83c6cf374f9c027eec2a57c28e3fb578577f907
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #6881
This commit is contained in:
Grigory Shepelev
2026-03-04 15:01:26 +03:00
committed by Ludovic Courtès
parent 81a4a181b1
commit adb8a5b93f

View File

@@ -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))