guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: liblinphone: Add installation of man pages.


From: guix-commits
Subject: branch master updated: gnu: liblinphone: Add installation of man pages.
Date: Fri, 04 Sep 2020 02:28:47 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0c7f478  gnu: liblinphone: Add installation of man pages.
0c7f478 is described below

commit 0c7f478e83c0218e4c3d78aa3b5c0cdc9a604741
Author: Michael Rohleder <mike@rohleder.de>
AuthorDate: Thu Sep 3 20:44:07 2020 +0200

    gnu: liblinphone: Add installation of man pages.
    
    * gnu/packages/linphone.scm (liblinphone)[arguments]: Add phase
    'install-man-pages.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/linphone.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm
index 14da150..a649289 100644
--- a/gnu/packages/linphone.scm
+++ b/gnu/packages/linphone.scm
@@ -458,6 +458,14 @@ including media capture, encoding and decoding, and 
rendering.")
                (delete-file-recursively
                 (string-append out "/share/doc/linphone-" ,version))
                #t)))
+         (add-after 'install 'install-man-pages
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (man (string-append out "/share/man/man1")))
+               (for-each (lambda (file)
+                           (install-file file man))
+                         (find-files ".." ".*.1$"))
+               #t)))
          (add-after 'separate-outputs 'glib-or-gtk-compile-schemas
            (assoc-ref glib-or-gtk:%standard-phases 
'glib-or-gtk-compile-schemas))
          (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap



reply via email to

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