gnu: asciidoc: Delete trailing #t.
* gnu/packages/documentation.scm (asciidoc) [arguments]: Delete trailing #t.
This commit is contained in:
parent
0291b8d87a
commit
e3edddd12d
|
@ -140,8 +140,7 @@ (define-public asciidoc
|
||||||
(("XMLLINT = 'xmllint'")
|
(("XMLLINT = 'xmllint'")
|
||||||
(string-append "XMLLINT = '" xmllint "'"))
|
(string-append "XMLLINT = '" xmllint "'"))
|
||||||
(("XSLTPROC = 'xsltproc'")
|
(("XSLTPROC = 'xsltproc'")
|
||||||
(string-append "XSLTPROC = '" xsltproc "'")))
|
(string-append "XSLTPROC = '" xsltproc "'"))))))
|
||||||
#t)))
|
|
||||||
;; Make asciidoc use the local docbook-xsl package instead of fetching
|
;; Make asciidoc use the local docbook-xsl package instead of fetching
|
||||||
;; it from the internet at run-time.
|
;; it from the internet at run-time.
|
||||||
(add-before 'install 'make-local-docbook-xsl
|
(add-before 'install 'make-local-docbook-xsl
|
||||||
|
@ -153,20 +152,16 @@ (define-public asciidoc
|
||||||
"xsl:import href=\""
|
"xsl:import href=\""
|
||||||
(string-append (assoc-ref inputs "docbook-xsl")
|
(string-append (assoc-ref inputs "docbook-xsl")
|
||||||
"/xml/xsl/docbook-xsl-"
|
"/xml/xsl/docbook-xsl-"
|
||||||
,(package-version docbook-xsl)))))
|
,(package-version docbook-xsl)))))))
|
||||||
#t))
|
|
||||||
;; Do the same for docbook-xml.
|
;; Do the same for docbook-xml.
|
||||||
(add-before 'install 'make-local-docbook-xml
|
(add-before 'install 'make-local-docbook-xml
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "docbook45.conf"
|
(substitute* "docbook45.conf"
|
||||||
(("http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd")
|
(("http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd")
|
||||||
(string-append (assoc-ref inputs "docbook-xml")
|
(string-append (assoc-ref inputs "docbook-xml")
|
||||||
"/xml/dtd/docbook/docbookx.dtd")))
|
"/xml/dtd/docbook/docbookx.dtd"))))))))
|
||||||
#t)))))
|
(native-inputs (list autoconf))
|
||||||
(native-inputs
|
(inputs (list python docbook-xml-4.5 docbook-xsl libxml2 libxslt))
|
||||||
(list autoconf))
|
|
||||||
(inputs
|
|
||||||
(list python docbook-xml-4.5 docbook-xsl libxml2 libxslt))
|
|
||||||
(home-page "https://asciidoc.org/")
|
(home-page "https://asciidoc.org/")
|
||||||
(synopsis "Text-based document generation system")
|
(synopsis "Text-based document generation system")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue