[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: knot: Build & install the Info manual.
From: |
guix-commits |
Subject: |
02/06: gnu: knot: Build & install the Info manual. |
Date: |
Tue, 6 Oct 2020 10:28:05 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 4756b9b1d9c1f13b21221461c6da40972a6e9cb3
Author: Simon South <simon@simonsouth.net>
AuthorDate: Tue Oct 6 09:56:44 2020 -0400
gnu: knot: Build & install the Info manual.
* gnu/packages/dns.scm (knot)[arguments]: Add "build-info" and
"install-info" phases.
[native-inputs]: Add texinfo and python-sphinx.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
gnu/packages/dns.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 0608ef1..8f7374c 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -70,6 +70,7 @@
#:use-module (gnu packages shells)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages swig)
+ #:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
@@ -842,6 +843,9 @@ Extensions} (DNSSEC).")
;; This is needed even when using ‘make config_dir=... install’.
(substitute* "src/Makefile.in" (("\\$\\(INSTALL\\) -d") "true"))
#t))
+ (add-after 'build 'build-info
+ (lambda _
+ (invoke "make" "info")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -849,13 +853,18 @@ Extensions} (DNSSEC).")
(etc (string-append doc "/examples/etc")))
(invoke "make"
(string-append "config_dir=" etc)
- "install")))))))
+ "install"))))
+ (add-after 'install 'install-info
+ (lambda _
+ (invoke "make" "install-info"))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("pkg-config" ,pkg-config)
- ("ragel" ,ragel)))
+ ("python-sphinx" ,python-sphinx)
+ ("ragel" ,ragel)
+ ("texinfo" ,texinfo)))
(inputs
`(("fstrm" ,fstrm)
("gnutls" ,gnutls)
- branch master updated (1ec67d5 -> 7721dbf), guix-commits, 2020/10/06
- 01/06: gnu: knot: Enable DNS-over-HTTPS support in kdig., guix-commits, 2020/10/06
- 02/06: gnu: knot: Build & install the Info manual.,
guix-commits <=
- 04/06: gnu: knot: Fix typo., guix-commits, 2020/10/06
- 05/06: gnu: knot: Enable XDP., guix-commits, 2020/10/06
- 03/06: gnu: knot: Fix test failure on aarch64-linux., guix-commits, 2020/10/06
- 06/06: gnu: perl-digest-md5: Update to 2.58., guix-commits, 2020/10/06