summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-20 23:00:28 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-21 00:44:06 -0400
commite3edddd12d7edcad469f52db6a09345efaf66187 (patch)
tree730e4e28caff8934f23575fe1f418b1c24a81cf5 /gnu/packages
parent0291b8d87a6422e246dda75318bda6bc49ed5a37 (diff)
gnu: asciidoc: Delete trailing #t.
* gnu/packages/documentation.scm (asciidoc) [arguments]: Delete trailing #t.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/documentation.scm15
1 files changed, 5 insertions, 10 deletions
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index 27903a1ffeb..bbaa01e3929 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -140,8 +140,7 @@ pages in HTML.")
140 (("XMLLINT = 'xmllint'") 140 (("XMLLINT = 'xmllint'")
141 (string-append "XMLLINT = '" xmllint "'")) 141 (string-append "XMLLINT = '" xmllint "'"))
142 (("XSLTPROC = 'xsltproc'") 142 (("XSLTPROC = 'xsltproc'")
143 (string-append "XSLTPROC = '" xsltproc "'"))) 143 (string-append "XSLTPROC = '" xsltproc "'"))))))
144 #t)))
145 ;; Make asciidoc use the local docbook-xsl package instead of fetching 144 ;; Make asciidoc use the local docbook-xsl package instead of fetching
146 ;; it from the internet at run-time. 145 ;; it from the internet at run-time.
147 (add-before 'install 'make-local-docbook-xsl 146 (add-before 'install 'make-local-docbook-xsl
@@ -153,20 +152,16 @@ release/xsl/current")
153 "xsl:import href=\"" 152 "xsl:import href=\""
154 (string-append (assoc-ref inputs "docbook-xsl") 153 (string-append (assoc-ref inputs "docbook-xsl")
155 "/xml/xsl/docbook-xsl-" 154 "/xml/xsl/docbook-xsl-"
156 ,(package-version docbook-xsl))))) 155 ,(package-version docbook-xsl)))))))
157 #t))
158 ;; Do the same for docbook-xml. 156 ;; Do the same for docbook-xml.
159 (add-before 'install 'make-local-docbook-xml 157 (add-before 'install 'make-local-docbook-xml
160 (lambda* (#:key inputs #:allow-other-keys) 158 (lambda* (#:key inputs #:allow-other-keys)
161 (substitute* "docbook45.conf" 159 (substitute* "docbook45.conf"
162 (("http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd") 160 (("http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd")
163 (string-append (assoc-ref inputs "docbook-xml") 161 (string-append (assoc-ref inputs "docbook-xml")
164 "/xml/dtd/docbook/docbookx.dtd"))) 162 "/xml/dtd/docbook/docbookx.dtd"))))))))
165 #t))))) 163 (native-inputs (list autoconf))
166 (native-inputs 164 (inputs (list python docbook-xml-4.5 docbook-xsl libxml2 libxslt))
167 (list autoconf))
168 (inputs
169 (list python docbook-xml-4.5 docbook-xsl libxml2 libxslt))
170 (home-page "https://asciidoc.org/") 165 (home-page "https://asciidoc.org/")
171 (synopsis "Text-based document generation system") 166 (synopsis "Text-based document generation system")
172 (description 167 (description