* [bug#43187] [PATCH] gnu: liblinphone: Add installation of man pages.
@ 2020-09-03 18:44 Michael Rohleder
2020-09-04 6:29 ` bug#43187: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2020-09-03 18:44 UTC (permalink / raw)
To: 43187; +Cc: Michael Rohleder
* gnu/packages/linphone.scm (liblinphone)[arguments]: Add phase
'install-man-pages.
---
gnu/packages/linphone.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm
index 14da150ced..a6492893c8 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
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#43187: [PATCH] gnu: liblinphone: Add installation of man pages.
2020-09-03 18:44 [bug#43187] [PATCH] gnu: liblinphone: Add installation of man pages Michael Rohleder
@ 2020-09-04 6:29 ` Mathieu Othacehe
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2020-09-04 6:29 UTC (permalink / raw)
To: Michael Rohleder; +Cc: 43187-done
> * gnu/packages/linphone.scm (liblinphone)[arguments]: Add phase
> 'install-man-pages.
Pushed, thanks!
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-04 6:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03 18:44 [bug#43187] [PATCH] gnu: liblinphone: Add installation of man pages Michael Rohleder
2020-09-04 6:29 ` bug#43187: " Mathieu Othacehe
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).