summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaghav Gururajan <rg@raghavgururajan.name>2021-02-24 22:48:01 -0500
committerDanny Milosavljevic <dannym@scratchpost.org>2021-02-26 01:29:45 +0100
commitc00b5be7a15224fe5e5874e2700f1cb213cb6373 (patch)
tree110cbcd554be2dea5f255f4482b265d7cebb2acd
parentfcd984d7b80e3a19d33fbce7ce7b60602003fce0 (diff)
downloadguix-c00b5be7a15224fe5e5874e2700f1cb213cb6373.tar.gz
gnu: loudmouth: Generate documentation.
* gnu/packages/messaging.scm (loudmouth) [outputs]: New output "doc".
[arguments]: Add --enable-gtk-doc and --with-html-dir configure-flags.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
-rw-r--r--gnu/packages/messaging.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index afd9cebf4d..66176ddb36 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1900,10 +1900,15 @@ many bug fixes.")
         (base32
          "03adv5xc84l9brcx0dpyqyffmsclans8yfrpnd357k6x3wfckjri"))))
     (build-system gnu-build-system)
+    (outputs '("out" "doc"))
     (arguments
      `(#:configure-flags
        (list
-        "--disable-static")
+        "--disable-static"
+        "--enable-gtk-doc"
+        (string-append "--with-html-dir="
+                       (assoc-ref %outputs "doc")
+                       "/share/gtk-doc/html"))
        #:make-flags
        (list
         "CFLAGS=-Wno-error=all")))