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>
This commit is contained in:
Michael Rohleder 2020-09-03 20:44:07 +02:00 committed by Mathieu Othacehe
parent b9a7fa817a
commit 0c7f478e83
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -458,6 +458,14 @@ (define-public liblinphone
(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