gentoo-ebuilds/dev-cpp/eigen/files/eigen-3.4.0-doc-nocompress.patch
Andreas Sturmlechner 16201b90f2
dev-cpp/eigen: Don't compress (and duplicate) html doc dir
Closes: https://bugs.gentoo.org/830064
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2021-12-29 16:41:22 +01:00

15 lines
873 B
Diff

--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -112,11 +112,7 @@
COMMAND doxygen
COMMAND doxygen Doxyfile-unsupported
COMMAND ${CMAKE_COMMAND} -E copy ${Eigen_BINARY_DIR}/doc/html/group__TopicUnalignedArrayAssert.html ${Eigen_BINARY_DIR}/doc/html/TopicUnalignedArrayAssert.html
- COMMAND ${CMAKE_COMMAND} -E rename html eigen-doc
- COMMAND ${CMAKE_COMMAND} -E remove eigen-doc/eigen-doc.tgz eigen-doc/unsupported/_formulas.log eigen-doc/_formulas.log
- COMMAND ${CMAKE_COMMAND} -E tar cfz eigen-doc.tgz eigen-doc
- COMMAND ${CMAKE_COMMAND} -E rename eigen-doc.tgz eigen-doc/eigen-doc.tgz
- COMMAND ${CMAKE_COMMAND} -E rename eigen-doc html
+ COMMAND ${CMAKE_COMMAND} -E remove html/unsupported/_formulas.log html/_formulas.log
WORKING_DIRECTORY ${Eigen_BINARY_DIR}/doc)
add_dependencies(doc doc-eigen-prerequisites doc-unsupported-prerequisites)