diff --git a/app-doc/doxygen/doxygen-9999.ebuild b/app-doc/doxygen/doxygen-9999.ebuild index 9f082f097a2ad..4baf172148217 100644 --- a/app-doc/doxygen/doxygen-9999.ebuild +++ b/app-doc/doxygen/doxygen-9999.ebuild @@ -104,6 +104,9 @@ src_configure() { -Dbuild_wizard=$(usex qt5) -Duse_sqlite3=$(usex sqlite) ) + use doc && mycmakeargs+=( + -DDOC_INSTALL_DIR="share/doc/${P}" + ) cmake-utils_src_configure }