diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-09-23 13:27:58 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-09-23 13:28:14 +0200 |
commit | c24c55e7dff5ab533dad612e9714b6bc675b5484 (patch) | |
tree | 32f74cb31bbf4e94c99642b1f0991501d25b10cc /sys-devel/llvm/files/9999 | |
parent | 1c26031067e0f9d1b05030e58aa687fe7b3df556 (diff) | |
download | gentoo-c24c55e7dff5ab533dad612e9714b6bc675b5484.tar.gz gentoo-c24c55e7dff5ab533dad612e9714b6bc675b5484.tar.xz |
sys-devel/llvm: Move the old Sphinx install patch to <=3.9.0
Diffstat (limited to 'sys-devel/llvm/files/9999')
-rw-r--r-- | sys-devel/llvm/files/9999/0003-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/sys-devel/llvm/files/9999/0003-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch b/sys-devel/llvm/files/9999/0003-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch deleted file mode 100644 index 76adf52fb94..00000000000 --- a/sys-devel/llvm/files/9999/0003-cmake-Support-overriding-Sphinx-HTML-doc-install-dir.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 1251ac2021b768d3a56b4dc03212ea2fd12a34dd Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Mon, 8 Jun 2015 06:43:00 +0200 -Subject: [PATCH 03/10] cmake: Support overriding Sphinx HTML doc install - directory - -Provide ${PROJECT}_INSTALL_HTML variables (e.g. LLVM_INSTALL_HTML) to -override Sphinx HTML doc install directory. - -Bug: https://llvm.org/bugs/show_bug.cgi?id=23780 -Patch: https://reviews.llvm.org/D23757 ---- - cmake/modules/AddSphinxTarget.cmake | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/cmake/modules/AddSphinxTarget.cmake b/cmake/modules/AddSphinxTarget.cmake -index 045dc23..fac143f 100644 ---- a/cmake/modules/AddSphinxTarget.cmake -+++ b/cmake/modules/AddSphinxTarget.cmake -@@ -53,8 +53,12 @@ function (add_sphinx_target builder project) - DESTINATION share/man/man1) - - elseif (builder STREQUAL html) -- install(DIRECTORY "${SPHINX_BUILD_DIR}" -- DESTINATION "share/doc/${project}") -+ string(TOUPPER "${project}" project_upper) -+ set(${project_upper}_INSTALL_HTML "share/doc/${project}/html" -+ CACHE STRING "HTML documentation install directory for ${project}") -+ -+ install(DIRECTORY "${SPHINX_BUILD_DIR}/." -+ DESTINATION "${${project_upper}_INSTALL_HTML}") - else() - message(WARNING Installation of ${builder} not supported) - endif() --- -2.9.3 - |