guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: groff: Fix doc installation.


From: guix-commits
Subject: 01/02: gnu: groff: Fix doc installation.
Date: Mon, 14 Jan 2019 16:35:22 -0500 (EST)

bavier pushed a commit to branch core-updates
in repository guix.

commit 2df4f7020d2c49110900f786af7700d170c3035c
Author: Eric Bavier <address@hidden>
Date:   Sun Jan 13 01:03:24 2019 -0600

    gnu: groff: Fix doc installation.
    
    * gnu/packages/groff.scm (groff)[arguments]: Add 'fix-docdir phase.
---
 gnu/packages/groff.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/groff.scm b/gnu/packages/groff.scm
index 9bf8662..a8a3133 100644
--- a/gnu/packages/groff.scm
+++ b/gnu/packages/groff.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2017 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2019 Efraim Flashner <address@hidden>
+;;; Copyright © 2019 Eric Bavier <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -65,7 +66,11 @@
         (add-after 'unpack 'setenv
           (lambda _
             (setenv "GS_GENERATE_UUIDS" "0")
-            #t)))))
+            #t))
+        (add-after 'unpack 'fix-docdir
+          (lambda _         ;see https://savannah.gnu.org/bugs/index.php?55461
+            (substitute* "Makefile.in"
+              (("^docdir =.*") "docdir = @address@hidden")))))))
    (synopsis "Typesetting from plain text mixed with formatting commands")
    (description
     "Groff is a typesetting package that reads plain text and produces



reply via email to

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