mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 14:01:29 -05:00
gnu: git: Install Info manual.
Partially fixes <https://issues.guix.gnu.org/55821>. * gnu/packages/version-control.scm (git)[native-inputs]: Add docbook2x, libxslt and texinfo. [phases]{install-info-manual}: New phase.
This commit is contained in:
parent
7476a910a1
commit
245ddc255a
1 changed files with 15 additions and 2 deletions
|
@ -251,9 +251,12 @@ (define-public git
|
|||
"0vsfjs6xg228yhqcpaiwkpncaqcghnm0pwdxmgibz0rj6d8ydrmi"))))
|
||||
;; For subtree documentation.
|
||||
("asciidoc" ,asciidoc)
|
||||
("docbook2x" ,docbook2x)
|
||||
("docbook-xsl" ,docbook-xsl)
|
||||
("xmlto" ,xmlto)
|
||||
("pkg-config" ,pkg-config)))
|
||||
("libxslt" ,libxslt)
|
||||
("pkg-config" ,pkg-config)
|
||||
("texinfo" ,texinfo)
|
||||
("xmlto" ,xmlto)))
|
||||
(inputs
|
||||
`(("curl" ,curl)
|
||||
("expat" ,expat)
|
||||
|
@ -430,6 +433,16 @@ (define-public git
|
|||
"t/t9167-git-svn-cmd-branch-subproject.sh"
|
||||
"t/t9141-git-svn-multiple-branches.sh"))
|
||||
#t)))
|
||||
(add-after 'install 'install-info-manual
|
||||
(lambda* (#:key parallel-build? #:allow-other-keys)
|
||||
(define job-count (if parallel-build?
|
||||
(number->string (parallel-job-count))
|
||||
"1"))
|
||||
(invoke "make" "-C" "Documentation" "install-info"
|
||||
"-j" job-count
|
||||
;; The Makefile refer to 'docbook2x-texi', but our binary
|
||||
;; is named 'docbook2texi'.
|
||||
"DOCBOOK2X_TEXI=docbook2texi" "PERL_PATH=perl")))
|
||||
(add-after 'install 'install-shell-completion
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue