summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/sketch/sketch-0.3.7.ebuild')
-rw-r--r--dev-tex/sketch/sketch-0.3.7.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/dev-tex/sketch/sketch-0.3.7.ebuild b/dev-tex/sketch/sketch-0.3.7.ebuild
index 2e24cc537c14..ac587f8b176b 100644
--- a/dev-tex/sketch/sketch-0.3.7.ebuild
+++ b/dev-tex/sketch/sketch-0.3.7.ebuild
@@ -31,16 +31,12 @@ src_install() {
dobin sketch
edos2unix Doc/sketch.info
doinfo Doc/sketch.info
- dodoc -r updates.htm
+ dodoc updates.htm
- if use doc ; then
- insinto /usr/share/doc/${PF}
- doins Doc/sketch.pdf
- dodoc -r Doc/sketch/*
- fi
+ use doc && dodoc -r Doc/*
- if use examples ; then
- insinto /usr/share/doc/${PF}/examples
- doins Data/*
+ if use examples; then
+ docinto examples
+ dodoc -r Data/*
fi
}