diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-03-26 10:33:04 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-03-26 12:13:30 +0200 |
| commit | 5bc225abfcb74931fc8b4c62cbe326272337647f (patch) | |
| tree | 7923d2b30309cadf1af4913a2971efc5a88e6dc8 /gnu | |
| parent | 82c22255dba0ff1eb5050fff5b5f692e351007d7 (diff) | |
gnu: libmedfile: Move documentation to separate output.
* gnu/packages/engineering.scm (libmedfile)[outputs]: Add 'doc'.
[arguments]: Add a phase to move the documentation to the 'doc' output.
Change-Id: Ie869c67b7c75775b0ae25fc0a20a12a663b73803
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/engineering.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 243ac463eb7..3ad9b31765b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3066,6 +3066,7 @@ extension and customization.") (package (name "libmedfile") (version "6.0.1") + (outputs '("out" "doc")) (source (origin (method url-fetch) @@ -3086,7 +3087,12 @@ extension and customization.") (add-after 'install 'remove-test-output (lambda _ (delete-file-recursively - (string-append #$output "/bin/testc"))))))) + (string-append #$output "/bin/testc")))) + (add-after 'install 'move-html-documentation + (lambda _ + (mkdir-p (string-append #$output:doc "/share")) + (rename-file (string-append #$output "/share/doc") + (string-append #$output:doc "/share/doc"))))))) (inputs (list hdf5 zlib)) (native-inputs (list doxygen graphviz-minimal)) (home-page "https://www.salome-platform.org") |
