[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: wpa-supplicant: Install man pages.
From: |
Ludovic Courtès |
Subject: |
03/06: gnu: wpa-supplicant: Install man pages. |
Date: |
Wed, 04 Feb 2015 21:49:50 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit ffd74de0c6de7435fcdc8e340efade032c365081
Author: Ludovic Courtès <address@hidden>
Date: Wed Feb 4 10:07:53 2015 +0100
gnu: wpa-supplicant: Install man pages.
* gnu/packages/admin.scm (wpa-supplicant)[arguments]: Add
'install-man-pages' phase.
---
gnu/packages/admin.scm | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index aa1f8d1..b6f8e19 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -714,7 +714,27 @@ commands and their arguments.")
CONFIG_LIBNL32=y
CONFIG_READLINE=y\n" port)
(close-port port)))
- %standard-phases)
+
+ (alist-cons-after
+ 'install 'install-man-pages
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (man (string-append out "/share/man"))
+ (man5 (string-append man "/man5"))
+ (man8 (string-append man "/man8")))
+ (define (copy-man-page target)
+ (lambda (file)
+ (copy-file file
+ (string-append target "/"
+ (basename file)))))
+
+ (mkdir-p man5) (mkdir man8)
+ (for-each (copy-man-page man5)
+ (find-files "doc/docbook" "\\.5"))
+ (for-each (copy-man-page man8)
+ (find-files "doc/docbook" "\\.8"))
+ #t))
+ %standard-phases))
#:make-flags (list "CC=gcc"
(string-append "BINDIR=" (assoc-ref %outputs "out")
- branch master updated (6a07070 -> 6987615), Ludovic Courtès, 2015/02/04
- 01/06: build: Make 'chroot' a hard requirement., Ludovic Courtès, 2015/02/04
- 02/06: gnu: wpa-supplicant: Use GnuTLS instead of OpenSSL., Ludovic Courtès, 2015/02/04
- 03/06: gnu: wpa-supplicant: Install man pages.,
Ludovic Courtès <=
- 06/06: gnu: nss-mdns: Allow the daemon's socket to be found., Ludovic Courtès, 2015/02/04
- 04/06: system: Add bindings to configure libc's NSS., Ludovic Courtès, 2015/02/04
- 05/06: services: nscd-service: Add #:name-services parameter., Ludovic Courtès, 2015/02/04