diff options
author | Mark H Weaver <mhw@netris.org> | 2016-10-23 14:16:39 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2016-10-23 14:16:39 -0400 |
commit | ca0635b4ba1af6f4ef1f54cb13fe6cedd8c5aff3 (patch) | |
tree | 1b3e014c4e0398ecb63d1b88ee06b09d0c0c5a56 /gnu/packages/backup.scm | |
parent | f08add0c5a3f1f7200b0a00e17ed880692d2244b (diff) | |
parent | 903276d066ab9733c253d2a15b7ae135ef2ef836 (diff) | |
download | guix-ca0635b4ba1af6f4ef1f54cb13fe6cedd8c5aff3.tar guix-ca0635b4ba1af6f4ef1f54cb13fe6cedd8c5aff3.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/backup.scm')
-rw-r--r-- | gnu/packages/backup.scm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index ffd7ef4c3e..a617bae7ea 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -419,7 +419,10 @@ detection, and lossless compression.") delete-file (find-files "borg" "^(c|h|p).*\\.c$"))))) (build-system python-build-system) (arguments - `(#:phases + `(#:modules ((srfi srfi-26) ; for cut + (guix build utils) + (guix build python-build-system)) + #:phases (modify-phases %standard-phases (add-after 'unpack 'set-env (lambda* (#:key inputs #:allow-other-keys) @@ -452,7 +455,12 @@ 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"))) + (for-each (cut install-file <> misc) + '("docs/misc/create_chunker-params.txt" + "docs/misc/internals-picture.txt" + "docs/misc/prune-example.txt")) (and (zero? (system* "python3" "setup.py" "build_ext" "--inplace")) (zero? (system* "make" "-C" "docs" "man")) |