diff options
author | François Bissey <frp.bissey@gmail.com> | 2021-03-15 21:07:15 +1300 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2021-03-16 18:42:05 -0400 |
commit | 2f1b6afe266c1d9ead2393dae1bb4ddbffc95f54 (patch) | |
tree | 5bc1c38202aa8c051ef5914ebf9f7ea8ab6428e2 /sci-mathematics/topcom | |
parent | app-forensics/lynis: fix typo (diff) | |
download | gentoo-2f1b6afe266c1d9ead2393dae1bb4ddbffc95f54.tar.gz gentoo-2f1b6afe266c1d9ead2393dae1bb4ddbffc95f54.tar.bz2 gentoo-2f1b6afe266c1d9ead2393dae1bb4ddbffc95f54.zip |
sci-mathematics/topcom: define HTML_DOCS only when doc is in USE.
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Bug: https://bugs.gentoo.org/776310
Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
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 |