[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: wpa-supplicant: install documentation.
From: |
guix-commits |
Subject: |
07/10: gnu: wpa-supplicant: install documentation. |
Date: |
Fri, 16 Aug 2019 17:00:40 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3b165f2a401a6f890f5f93371bdf137daf09c493
Author: Timotej Lazar <address@hidden>
Date: Fri Aug 16 18:36:50 2019 +0200
gnu: wpa-supplicant: install documentation.
* gnu/packages/admin.scm (wpa-supplicant)[arguments]: Rename
'install-man-pages' phase to 'install-documentation'; install READMEs
and the example config file.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/admin.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index bd3c140..979b901 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1240,9 +1240,10 @@ commands and their arguments.")
CONFIG_READLINE=y\n" port)
(close-port port))
#t))
- (add-after 'install 'install-man-pages
+ (add-after 'install 'install-documentation
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc/wpa-supplicant"))
(man (string-append out "/share/man"))
(man5 (string-append man "/man5"))
(man8 (string-append man "/man8")))
@@ -1255,6 +1256,15 @@ commands and their arguments.")
(find-files "doc/docbook" "\\.5"))
(for-each (copy-man-page man8)
(find-files "doc/docbook" "\\.8"))
+
+ ;; wpa_supplicant.conf(5) does not explain all configuration
+ ;; options but refers to the example config file, so install it
+ ;; along with READMEs.
+ (for-each (lambda (file)
+ (install-file file doc))
+ '("README" "README-DPP" "README-HS20"
+ "README-P2P" "README-WPS"
+ "wpa_supplicant.conf"))
#t))))
#:make-flags (list "CC=gcc"
@@ -1303,7 +1313,7 @@ command.")
CONFIG_CTRL_IFACE_DBUS_INTRO=y\n" port)
(close-port port))
#t))
- (add-after 'install-man-pages 'install-dbus-conf
+ (add-after 'install-documentation 'install-dbus-conf
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(dir (string-append out "/etc/dbus-1/system.d")))
- branch master updated (b65bd33 -> a830d14), guix-commits, 2019/08/16
- 02/10: derivations: Delete duplicate inputs when computing derivation hash., guix-commits, 2019/08/16
- 03/10: linux-modules: Add "modules.alias" writer., guix-commits, 2019/08/16
- 10/10: gnu: Add libgit2-glib., guix-commits, 2019/08/16
- 01/10: channels: Add 'profile-channels'., guix-commits, 2019/08/16
- 04/10: linux-modules: Add "modules.devname" writer., guix-commits, 2019/08/16
- 08/10: gnu: txr: Update to 223., guix-commits, 2019/08/16
- 06/10: linux-modules: Define and use a module name database., guix-commits, 2019/08/16
- 05/10: linux-modules: Add 'load-linux-modules-from-directory'., guix-commits, 2019/08/16
- 09/10: gnu: gramps: Update to 5.0.2., guix-commits, 2019/08/16
- 07/10: gnu: wpa-supplicant: install documentation.,
guix-commits <=