guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: proot: Install man page under the right name.


From: Ludovic Courtès
Subject: 01/04: gnu: proot: Install man page under the right name.
Date: Thu, 15 Jun 2017 17:18:53 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 02084762605e1fd8bc70376e4297871db6d84a82
Author: Ludovic Courtès <address@hidden>
Date:   Thu Jun 15 15:47:32 2017 +0200

    gnu: proot: Install man page under the right name.
    
    * gnu/packages/linux.scm (proot)[arguments]: In 'install' phase, install
    man page as "proot.1", not "man.1".
---
 gnu/packages/linux.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f4f5d50..cf37afe 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3964,10 +3964,11 @@ userspace queueing component and the logging 
subsystem.")
                               ;; build currently.)
                               (system* "make" "-C" "src" "install"
                                        (string-append "PREFIX=" out)))
-                             (begin
-                               (install-file "doc/proot/man.1"
-                                             (string-append out "/share"
-                                                            "/man/man1"))
+                             (let ((man1 (string-append out
+                                                        "/share/man/man1")))
+                               (mkdir-p man1)
+                               (copy-file "doc/proot/man.1"
+                                          (string-append man1 "/proot.1"))
                                #t))))))))
     (native-inputs `(("which" ,which)
 



reply via email to

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