guix-commits
[Top][All Lists]
Advanced

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

02/08: gnu: grue-hunter: Correctly install documentation.


From: Tobias Geerinckx-Rice
Subject: 02/08: gnu: grue-hunter: Correctly install documentation.
Date: Tue, 14 Mar 2017 22:45:45 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 6d57723ac8d63c0f303495e3f37f5e3a4a13849c
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Mar 13 17:52:12 2017 +0100

    gnu: grue-hunter: Correctly install documentation.
    
    * gnu/packages/games.scm (grue-hunter)[arguments]: Install and populate
    ‘/share/doc/grue-hunter’ as a directory, not a plain file.
---
 gnu/packages/games.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 1ce1865..f8152e0 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2528,7 +2528,8 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
                                                   "/bin/tar"))
                           (out     (assoc-ref %outputs "out"))
                           (bin     (string-append out "/bin"))
-                          (doc     (string-append out "/share/doc")))
+                          (doc     (string-append out
+                                                  "/share/doc/grue-hunter")))
                      (begin
                        (mkdir out)
                        (copy-file tarball "grue-hunter.tar.gz")
@@ -2542,8 +2543,7 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
                                       (list perl))
 
                        (mkdir-p doc)
-                       (copy-file "grue-hunter/AGPLv3.txt"
-                                  (string-append doc "/grue-hunter")))))))
+                       (install-file "grue-hunter/AGPLv3.txt" doc))))))
     (inputs `(("perl" ,perl)
               ("tar" ,tar)
               ("gzip" ,gzip)



reply via email to

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