From c07a4967b3d72ec6b2409999b3bf96d5b07e3b8b Mon Sep 17 00:00:00 2001 From: Bruno Victal Date: Mon, 9 Oct 2023 21:06:36 +0100 Subject: gnu: libnotify: Split documentation. * gnu/packages/gnome.scm (libnotify)[arguments]<#:phases>: Add 'move-doc phase. [outputs]: Add 'doc output. Signed-off-by: Maxim Cournoyer --- gnu/packages/gnome.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 9af87ce095..de088fb6bb 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3065,11 +3065,18 @@ configuring CUPS.") (sha256 (base32 "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36")))) + (outputs '("out" "doc")) (build-system meson-build-system) (arguments (list #:phases #~(modify-phases %standard-phases + (add-after 'install 'move-doc + (lambda _ + (let* ((old (string-append #$output "/share/gtk-doc")) + (new (string-append #$output:doc "/share/gtk-doc"))) + (mkdir-p (dirname new)) + (rename-file old new))))))) (propagated-inputs (list gdk-pixbuf glib)) ;in Requires of libnotify.pc. (inputs (list gtk+ libpng)) (native-inputs -- cgit v1.2.3