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".
This commit is contained in:
Ludovic Courtès 2017-06-15 15:47:32 +02:00 committed by Ludovic Courtès
parent e50c8aadae
commit 0208476260
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 4 deletions

View File

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