gnu: gtk-doc: Improve fix-docbook phase.

* gnu/packages/gtk.scm (gtk-doc)[arguments]: In the 'fix-docbook' phase,
avoid hard-coding the docbook-xsl version number, and return #t.
This commit is contained in:
Mark H Weaver 2016-02-25 22:20:58 -05:00
parent b31fbea566
commit 4ed737b2ab
1 changed files with 4 additions and 3 deletions

View File

@ -1121,9 +1121,10 @@ information.")
;; docbook-xsl catalog explicitly and get on with life.
(("\"\\$XML_CATALOG_FILE\" \
\"http://docbook.sourceforge.net/release/xsl/")
(string-append (assoc-ref %build-inputs "docbook-xsl")
"/xml/xsl/docbook-xsl-1.78.1/catalog.xml \
\"http://docbook.sourceforge.net/release/xsl/"))))))
(string-append (car (find-files (assoc-ref inputs "docbook-xsl")
"^catalog.xml$"))
" \"http://docbook.sourceforge.net/release/xsl/")))
#t)))
#:configure-flags
(list (string-append "--with-xml-catalog="
(assoc-ref %build-inputs "docbook-xml")