summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2024-08-27 21:16:40 -0400
committerMike Gilbert <floppym@gentoo.org>2024-08-27 21:16:40 -0400
commit872fae1e9dd278492f08bae1ceb1f5f09384fed2 (patch)
tree7ca4e25f236473186774b797f2e4310bb0e3d2c6 /app-shells
parentsys-fs/xfsprogs: fix C++ compat in headers (diff)
downloadgentoo-872fae1e9dd278492f08bae1ceb1f5f09384fed2.tar.gz
gentoo-872fae1e9dd278492f08bae1ceb1f5f09384fed2.tar.bz2
gentoo-872fae1e9dd278492f08bae1ceb1f5f09384fed2.zip
app-shells/zsh: fix doc build
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/zsh/zsh-9999.ebuild19
1 files changed, 7 insertions, 12 deletions
diff --git a/app-shells/zsh/zsh-9999.ebuild b/app-shells/zsh/zsh-9999.ebuild
index 4511850c60c0..bdc0d506d88e 100644
--- a/app-shells/zsh/zsh-9999.ebuild
+++ b/app-shells/zsh/zsh-9999.ebuild
@@ -47,11 +47,7 @@ BDEPEND="
if [[ ${PV} == *9999 ]] ; then
BDEPEND+="
app-text/yodl
- doc? (
- sys-apps/texinfo
- app-text/texi2html
- virtual/latex-base
- )
+ doc? ( virtual/texi2dvi )
"
fi
@@ -166,7 +162,10 @@ src_test() {
}
src_install() {
- emake DESTDIR="${D}" install $(usex doc "install.info" "")
+ emake DESTDIR="${D}" install
+ if use doc; then
+ emake -C Doc DESTDIR="${D}" install.html install.html
+ fi
insinto /etc/zsh
export PREFIX_QUOTE_CHAR='"' PREFIX_EXTRA_REGEX="/EUID/s,0,${EUID},"
@@ -199,12 +198,8 @@ src_install() {
dodoc ChangeLog* META-FAQ NEWS README config.modules
- if use doc ; then
- pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
- dodoc Doc/zsh.{dvi,pdf}
- docinto html
- dodoc Doc/*.html
- popd >/dev/null
+ if use doc; then
+ dodoc Doc/intro.{a4,us}.pdf Doc/zsh_{a4,us}.{dvi,pdf}
fi
docinto StartupFiles