aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-10-09 21:06:36 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:42:13 +0200
commitb1fde7621e2bec132583b834e71cd03d6e9e784b (patch)
tree11470b1c718312e580651a954b676cbfa101b957
parentab2dd0419ae1a7bd7df15d7e31218eebf73427ea (diff)
downloadguix-b1fde7621e2bec132583b834e71cd03d6e9e784b.tar.gz
guix-b1fde7621e2bec132583b834e71cd03d6e9e784b.zip
gnu: libnotify: Split documentation.
* gnu/packages/gnome.scm (libnotify)[arguments]<#:phases>: Add 'move-doc phase. [outputs]: Add 'doc output. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Change-Id: I59bd0bf321e42c6f64eb16844c14f4982ed2dd87
-rw-r--r--gnu/packages/gnome.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index eedad276cc..ed9dbcb90f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3119,11 +3119,18 @@ configuring CUPS.")
(sha256
(base32
"1h7nn9pz797bfmpz3d0s46yjv4ydppnzwifzdx0d6shm8vwkx3zf"))))
+ (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