guix-commits
[Top][All Lists]
Advanced

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

09/09: gnu: games: Don't MKDIR before INSTALL-FILE.


From: Tobias Geerinckx-Rice
Subject: 09/09: gnu: games: Don't MKDIR before INSTALL-FILE.
Date: Wed, 29 Mar 2017 16:05:16 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit a29d329fa8148f065eec62116b1e42fffef471f0
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Wed Mar 29 21:09:51 2017 +0200

    gnu: games: Don't MKDIR before INSTALL-FILE.
    
    * gnu/packages/games.scm (glkterm, glulxe, grue-hunter)[arguments]:
    Remove spurious MKDIRs.
---
 gnu/packages/games.scm | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index b4498c6..bb0f853 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -986,12 +986,10 @@ in different ways.")
             (let* ((out (assoc-ref outputs "out"))
                    (inc (string-append out "/include"))
                    (lib (string-append out "/lib")))
-              (mkdir-p inc)
               (for-each
                (lambda (file)
                  (install-file file inc))
                '("glk.h" "glkstart.h" "gi_blorb.h" "gi_dispa.h" 
"Make.glkterm"))
-              (mkdir-p lib)
               (install-file "libglkterm.a" lib))
             #t))
         (delete 'configure))))          ; no configure script
@@ -1032,7 +1030,6 @@ using the @code{curses.h} library for screen control.")
           (lambda* (#:key outputs #:allow-other-keys)
             (let* ((out (assoc-ref outputs "out"))
                    (bin (string-append out "/bin")))
-              (mkdir-p bin)
               (install-file "glulxe" bin))
             #t))
         (delete 'configure))))          ; no configure script
@@ -2661,7 +2658,6 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
                           (doc     (string-append out
                                                   "/share/doc/grue-hunter")))
                      (begin
-                       (mkdir out)
                        (copy-file tarball "grue-hunter.tar.gz")
                        (zero? (system* gzip "-d" "grue-hunter.tar.gz"))
                        (zero? (system* tar "xvf"  "grue-hunter.tar"))
@@ -2672,7 +2668,6 @@ Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
                        (patch-shebang (string-append bin "/grue-hunter")
                                       (list perl))
 
-                       (mkdir-p doc)
                        (install-file "grue-hunter/AGPLv3.txt" doc))))))
     (inputs `(("perl" ,perl)
               ("tar" ,tar)



reply via email to

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