summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/groff/groff-1.22.2.ebuild')
-rw-r--r--sys-apps/groff/groff-1.22.2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-apps/groff/groff-1.22.2.ebuild b/sys-apps/groff/groff-1.22.2.ebuild
index 0a7ac7b86d6e..e731d95545ce 100644
--- a/sys-apps/groff/groff-1.22.2.ebuild
+++ b/sys-apps/groff/groff-1.22.2.ebuild
@@ -84,7 +84,9 @@ src_install() {
dosym tbl /usr/bin/gtbl
if ! use examples ; then
- rm -rf "${ED}"/usr/share/doc/${PF}/examples
+ # Keep mom-pdf.pdf since it's more of a manual than an example. #454196 #516732
rm -f "${ED}"/usr/share/doc/${PF}/pdf/mom-pdf.pdf
+ mv "${ED}"/usr/share/doc/${PF}/{examples/mom,pdf}/mom-pdf.pdf || die
+ rm -rf "${ED}"/usr/share/doc/${PF}/examples
fi
}