[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/1] gnu: borg: Install more documentation.
From: |
Leo Famulari |
Subject: |
[PATCH 1/1] gnu: borg: Install more documentation. |
Date: |
Mon, 17 Oct 2016 23:03:54 -0400 |
* gnu/packages/backup.scm (borg)[arguments]: Install more documentation
in 'install-doc' phase.
---
gnu/packages/backup.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index eb5e98d..b75e99b 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -439,8 +439,15 @@ detection, and lossless compression.")
(add-after 'install 'install-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (man (string-append out "/share/man/man1")))
+ (man (string-append out "/share/man/man1"))
+ (misc (string-append out "/share/borg/misc")))
(and
+ (for-each (lambda (file)
+ (install-file file misc))
+ (find-files "docs/misc"
+ (string-append "create_chunker-params|"
+ "internals-picture|"
+ "prune-example")))
(zero? (system* "python3" "setup.py" "build_ext" "--inplace"))
(zero? (system* "make" "-C" "docs" "man"))
(begin
--
2.10.1