From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 1/1] gnu: borg: Install more documentation. Date: Tue, 18 Oct 2016 19:47:53 +0300 Message-ID: <87oa2hy56u.fsf@gmail.com> References: <3cd4136ec4d14a25c803d2dbf2e0262d37a3dc8e.1476759536.git.leo@famulari.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwXYU-0000lo-UH for guix-devel@gnu.org; Tue, 18 Oct 2016 12:47:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwXYQ-0000lf-Sr for guix-devel@gnu.org; Tue, 18 Oct 2016 12:47:58 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:34347) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwXYQ-0000kv-Kq for guix-devel@gnu.org; Tue, 18 Oct 2016 12:47:54 -0400 Received: by mail-lf0-x244.google.com with SMTP id x23so27577883lfi.1 for ; Tue, 18 Oct 2016 09:47:54 -0700 (PDT) In-Reply-To: <3cd4136ec4d14a25c803d2dbf2e0262d37a3dc8e.1476759536.git.leo@famulari.name> (Leo Famulari's message of "Mon, 17 Oct 2016 23:03:54 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari (2016-10-17 23:03 -0400) wrote: > * 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) Note that the return value of 'for-each' is not specified, so it should not be used inside 'and'. I would just put it before (and (zero? =E2=80=A6= ) =E2=80=A6). > + (install-file file misc)) > + (find-files "docs/misc" > + (string-append "create_chunker-pa= rams|" > + "internals-picture= |" > + "prune-example"))) > (zero? (system* "python3" "setup.py" "build_ext" "--inp= lace")) > (zero? (system* "make" "-C" "docs" "man")) > (begin --=20 Alex