summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-21 09:15:12 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-21 10:50:51 +0200
commit4c6524d9816eef5909c2d0a64703b834cd0a7a6e (patch)
tree937c701528a42e2a0ce89763841e34956bfdadcf
parentc0d324095eea0f59d105ccbedadf2d0cc5fa3c54 (diff)
downloadguix-4c6524d9816eef5909c2d0a64703b834cd0a7a6e.tar.gz
gnu: emacs-elfeed-score: Build and install info documentation.
* gnu/packages/emacs-xyz.scm (emacs-elfeed-score)[arguments]<#:phases>: Add
a phase to build info files.
[native-inputs]: Add TEXINFO.
-rw-r--r--gnu/packages/emacs-xyz.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 488ff088d7..37b8144e71 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13162,6 +13162,18 @@ with Elfeed.")
        (sha256
         (base32 "0slbmmcsf5pqbiq3nmna7wx9jvfgdgjp272qdqvmrv99jdj92cq6"))))
     (build-system emacs-build-system)
+    (arguments
+     (list
+      #:tests? #false                   ;FIXME: How to run tests properly?
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'install 'make-info
+            (lambda _
+              (with-directory-excursion "doc"
+                (invoke "makeinfo" "--no-split"
+                        "-o" "elfeed-score.info" "elfeed-score.texi")))))))
+    (native-inputs
+     (list texinfo))
     (propagated-inputs
      (list emacs-elfeed))
     (home-page "https://github.com/sp1ff/elfeed-score")