diff options
Diffstat (limited to 'sci-mathematics/topcom')
-rw-r--r-- | sci-mathematics/topcom/topcom-0.17.8-r1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-mathematics/topcom/topcom-0.17.8-r1.ebuild b/sci-mathematics/topcom/topcom-0.17.8-r1.ebuild index a3496c642f69..36196048f942 100644 --- a/sci-mathematics/topcom/topcom-0.17.8-r1.ebuild +++ b/sci-mathematics/topcom/topcom-0.17.8-r1.ebuild @@ -24,7 +24,6 @@ RDEPEND="${DEPEND}" BDEPEND="app-shells/tcsh" PATCHES=( "${FILESDIR}/${P}-buildsystem.patch" ) -HTML_DOCS=( "${DISTDIR}/TOPCOM-manual.html" ) src_prepare () { default @@ -43,13 +42,16 @@ src_configure() { } src_install () { + if use doc ; then + HTML_DOCS=( "${DISTDIR}/TOPCOM-manual.html" ) + fi + default if use examples; then docompress -x "/usr/share/doc/${PF}/examples" dodoc -r examples fi - use doc && einstalldocs mv "${ED}/usr/bin/cube" "${ED}/usr/bin/topcom_cube" || die |