diff options
| author | Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com> | 2024-08-19 09:24:49 +0200 |
|---|---|---|
| committer | Joonas Niilola <juippis@gentoo.org> | 2024-08-19 21:52:48 +0300 |
| commit | 6f8ef24af37e572d317fac58ea8eabab64a3f3a8 (patch) | |
| tree | 712e754c97eaff5e45e146221b83bd82e95e119b /dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch | |
| parent | 70148fcb08f4f2231313e7e96863531d8978801d (diff) | |
| download | gentoo-6f8ef24af37e572d317fac58ea8eabab64a3f3a8.tar.gz gentoo-6f8ef24af37e572d317fac58ea8eabab64a3f3a8.tar.bz2 gentoo-6f8ef24af37e572d317fac58ea8eabab64a3f3a8.zip | |
dev-cpp/benchmark: add 1.9.0 and adoption
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37993
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch')
| -rw-r--r-- | dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch b/dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch new file mode 100644 index 000000000000..631e01881aa8 --- /dev/null +++ b/dev-cpp/benchmark/files/benchmark-1.9.0-fix-documentation-installation.patch @@ -0,0 +1,47 @@ +From 009874342ddcf6446bec308686c54bd387a212a4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matt=C3=A9o=20Rossillol=E2=80=91=E2=80=91Laruelle?= + <beatussum@protonmail.com> +Date: Mon, 19 Aug 2024 09:12:57 +0200 +Subject: [PATCH] fix documentation installation +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +HTML pages generated by Doxygen are now installed into +/usr/share/doc/${PF}/html. + +The content of the docs directory is always installed even if HTML pages are +installed. + +Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com> +--- + src/CMakeLists.txt | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 32126c0..40e75e0 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -169,12 +169,12 @@ if (BENCHMARK_ENABLE_DOXYGEN) + if (BENCHMARK_ENABLE_INSTALL AND BENCHMARK_INSTALL_DOCS) + install( + DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html/" +- DESTINATION ${CMAKE_INSTALL_DOCDIR}) +- endif() +-else() +- if (BENCHMARK_ENABLE_INSTALL AND BENCHMARK_INSTALL_DOCS) +- install( +- DIRECTORY "${PROJECT_SOURCE_DIR}/docs/" +- DESTINATION ${CMAKE_INSTALL_DOCDIR}) ++ DESTINATION "${CMAKE_INSTALL_DOCDIR}/html/") + endif() + endif() ++ ++if (BENCHMARK_ENABLE_INSTALL AND BENCHMARK_INSTALL_DOCS) ++ install( ++ DIRECTORY "${PROJECT_SOURCE_DIR}/docs/" ++ DESTINATION ${CMAKE_INSTALL_DOCDIR}) ++endif() +-- +2.44.2 + |
