guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Mark H. Weaver
Subject: 01/01: gnu: gtk-doc: Improve fix-docbook phase.
Date: Fri, 26 Feb 2016 03:24:43 +0000

mhw pushed a commit to branch master
in repository guix.

commit 4ed737b2ab65c3af57a6774439d86b75140fbf34
Author: Mark H Weaver <address@hidden>
Date:   Thu Feb 25 22:20:58 2016 -0500

    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.
---
 gnu/packages/gtk.scm |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 9f2e514..4fb4e8d 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]