all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Dave Love <fx@gnu.org>
Cc: 28555-done@debbugs.gnu.org
Subject: bug#28555: [PATCH 1/3] gnu: Add opensm.
Date: Sat, 23 Sep 2017 17:54:25 +0200	[thread overview]
Message-ID: <87fubd2yxa.fsf@gnu.org> (raw)
In-Reply-To: <20170922150407.18134-1-fx@gnu.org> (Dave Love's message of "Fri, 22 Sep 2017 16:04:05 +0100")

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

Dave Love <fx@gnu.org> skribis:

> * gnu/packages/fabric-management.scm: New file.
> * gnu/local.mk: Add it.

Nice!  I adjusted it as shown above and committed.

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1324 bytes --]

diff --git a/gnu/packages/fabric-management.scm b/gnu/packages/fabric-management.scm
index abef18d36..873187769 100644
--- a/gnu/packages/fabric-management.scm
+++ b/gnu/packages/fabric-management.scm
@@ -49,17 +49,19 @@
     (inputs
      `(("rdma-core" ,rdma-core)))
     (arguments
-     '(#:configure-flags '("--disable-static")
+     `(#:configure-flags '("--disable-static")
        #:phases
        (modify-phases %standard-phases
          (add-after 'install 'doc
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((base (assoc-ref outputs "out"))
-                    (doc (string-append base "/share/doc")))
-               (mkdir-p doc)
-               (zero?
-                (system
-                 (string-append "cp AUTHORS COPYING ChangeLog doc/* " doc)))))))))
+                    (doc  (string-append base "/share/doc/"
+                                         ,name "-" ,version)))
+               (for-each (lambda (file)
+                           (install-file file doc))
+                         (append (list "AUTHORS" "COPYING" "ChangeLog")
+                                 (find-files "doc")))
+               #t))))))
     (home-page "https://www.openfabrics.org/")
     (synopsis "OpenIB InfiniBand Subnet Manager and management utilities")
     (description "\

      parent reply	other threads:[~2017-09-23 15:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-22 15:04 [bug#28555] [PATCH 1/3] gnu: Add opensm Dave Love
2017-09-22 15:04 ` [bug#28552] [PATCH 2/3] gnu: Add infiniband-diags Dave Love
2017-09-23 16:03   ` bug#28552: " Ludovic Courtès
2017-09-22 15:04 ` [bug#28555] [PATCH 3/3] gnu: Add ibutils Dave Love
2017-09-23 16:19   ` Ludovic Courtès
2017-09-23 15:54 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fubd2yxa.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=28555-done@debbugs.gnu.org \
    --cc=fx@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.