mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
gnu: hdf5: Move documentation to separate output.
* gnu/packages/maths.scm (hdf5)[outputs]: Add 'doc'. [arguments]: Add a phase to move the documentation to the 'doc' output. Fixes guix/guix#7486 Merges guix/guix!7495 Change-Id: I9753715f270748abff9ddf8adaa64120fe167664
This commit is contained in:
@@ -1865,6 +1865,7 @@ extremely large and complex data collections.")
|
||||
(package
|
||||
(name "hdf5")
|
||||
(version "1.14.6")
|
||||
(outputs '("out" "doc"))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
@@ -2015,7 +2016,12 @@ extremely large and complex data collections.")
|
||||
'("bin/h5hlfc"
|
||||
"bin/h5fc"))
|
||||
(("/gnu/store/[a-z0-9]*-gfortran-[0-9.]*/bin/")
|
||||
"")))))))
|
||||
""))))
|
||||
(add-after 'install 'move-html-documentation
|
||||
(lambda _
|
||||
(mkdir-p (string-append #$output:doc "/share"))
|
||||
(rename-file (string-append #$output "/share/html")
|
||||
(string-append #$output:doc "/share/html")))))))
|
||||
(inputs (list libaec zlib))
|
||||
(native-inputs
|
||||
(list bison
|
||||
|
||||
Reference in New Issue
Block a user