summaryrefslogtreecommitdiff
path: root/dev-vcs/git/git-9999-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git/git-9999-r2.ebuild')
-rw-r--r--dev-vcs/git/git-9999-r2.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index 3de51238c45f..68a5ad083cec 100644
--- a/dev-vcs/git/git-9999-r2.ebuild
+++ b/dev-vcs/git/git-9999-r2.ebuild
@@ -245,6 +245,7 @@ src_configure() {
if [[ ${PV} == *9999 ]] || use doc ; then
emesonargs+=(
-Ddocs="man$(usev doc ',html')"
+ -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
)
fi
@@ -334,11 +335,6 @@ src_test() {
src_install() {
meson_src_install
- if use doc ; then
- cp -r "${ED}"/usr/share/doc/git-doc/. "${ED}"/usr/share/doc/${PF}/html || die
- rm -rf "${ED}"/usr/share/doc/git-doc/ || die
- fi
-
# Depending on the tarball and manual rebuild of the documentation, the
# manpages may exist in either OR both of these directories.
find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]