mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
doc: Make sure 'htmlxref.cnf' is honored.
Fixes <https://bugs.gnu.org/39060>. Reported by Tobias Geerinckx-Rice <me@tobias.gr>. * doc/build.scm (html-manual)[build]: Copy 'htmlxref.cnf' to the current directory so that 'makeinfo' honors it.
This commit is contained in:
parent
30d83f445b
commit
f9e0488c50
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -410,6 +410,11 @@ (define (language->texi-file-name language)
|
|||
(setvbuf (current-output-port) 'line)
|
||||
(setvbuf (current-error-port) 'line)
|
||||
|
||||
;; 'makeinfo' looks for "htmlxref.cnf" in the current directory, so
|
||||
;; copy it right here.
|
||||
(copy-file (string-append #$manual-source "/htmlxref.cnf")
|
||||
"htmlxref.cnf")
|
||||
|
||||
(for-each (lambda (language)
|
||||
(let* ((texi (language->texi-file-name language))
|
||||
(opts `("--html"
|
||||
|
|
Loading…
Reference in a new issue