dev-util/cccc: drop superfluous dies

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-04-12 03:14:33 +01:00
parent 28eff152d8
commit c3cfee7a4a
2 changed files with 11 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -60,12 +60,13 @@ src_install() {
if use doc ; then
docinto html
dodoc cccc/*.html || die "html docs failed"
dodoc cccc/*.html
if use apidoc ; then
docinto html/api
dodoc -r doxygen/html/. || die "apidocs failed"
dodoc -r doxygen/html/.
docinto html/metrics
dodoc ccccout/* || die "metrics failed"
dodoc ccccout/*
fi
fi
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -60,12 +60,13 @@ src_install() {
if use doc ; then
docinto html
dodoc cccc/*.html || die "html docs failed"
dodoc cccc/*.html
if use apidoc ; then
docinto html/api
dodoc -r doxygen/html/. || die "apidocs failed"
docinto html/metrics
dodoc ccccout/* || die "metrics failed"
dodoc -r doxygen/html/.
docinto html/metrics/
dodoc ccccout/*
fi
fi
}