mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
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>
This commit is contained in:
parent
dadfc9bcd1
commit
4756b9b1d9
1 changed files with 11 additions and 2 deletions
|
@ -70,6 +70,7 @@ (define-module (gnu packages dns)
|
|||
#: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 @@ (define-public knot
|
|||
;; 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 @@ (define-public knot
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue