mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: git: Drop docbook workarounds.
* gnu/packages/version-control.scm (git)[arguments]<#:phases>: Drop docbook-xsl related substitution. [native-inputs]: Add docbook-xml-4.5. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
ee33cb893e
commit
ea6595badf
1 changed files with 1 additions and 14 deletions
|
@ -555,20 +555,6 @@ everything from small to very large projects with speed and efficiency.")
|
||||||
(add-after 'build 'build-subtree
|
(add-after 'build 'build-subtree
|
||||||
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||||
(with-directory-excursion "contrib/subtree"
|
(with-directory-excursion "contrib/subtree"
|
||||||
(substitute* "Makefile"
|
|
||||||
;; Apparently `xmlto' does not bother to looks up the
|
|
||||||
;; stylesheets specified in the XML, unlike the above
|
|
||||||
;; substitution. Instead it uses a hard-coded URL. Work
|
|
||||||
;; around it here, but if this is common perhaps we should
|
|
||||||
;; hardcode this path in xmlto itself.
|
|
||||||
(("\\$\\(XMLTO\\) -m \\$\\(MANPAGE_XSL\\)")
|
|
||||||
(string-append "$(XMLTO) -x "
|
|
||||||
(search-input-directory
|
|
||||||
(or native-inputs inputs)
|
|
||||||
(string-append
|
|
||||||
"xml/xsl/docbook-xsl-"
|
|
||||||
#$(package-version docbook-xsl)))
|
|
||||||
"/manpages/docbook.xsl -m $(MANPAGE_XSL)")))
|
|
||||||
(invoke "make")
|
(invoke "make")
|
||||||
(invoke "make" "install")
|
(invoke "make" "install")
|
||||||
(invoke "make" "install-doc")
|
(invoke "make" "install-doc")
|
||||||
|
@ -721,6 +707,7 @@ everything from small to very large projects with speed and efficiency.")
|
||||||
;; For subtree documentation.
|
;; For subtree documentation.
|
||||||
(append asciidoc
|
(append asciidoc
|
||||||
docbook2x
|
docbook2x
|
||||||
|
docbook-xml-4.5
|
||||||
docbook-xsl
|
docbook-xsl
|
||||||
libxslt
|
libxslt
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue