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 "\