diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-12-07 13:48:01 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-12-07 13:48:12 -0500 |
commit | 8ea21c463a5b0bfbe7303361809e76735d86b03b (patch) | |
tree | de749f7f17b55b76a42b8c4c590d342143d8c74e /sys-apps/groff | |
parent | profiles: mask USE=notmuch for mail-client/mutt on arches lacking the keyword... (diff) | |
download | gentoo-8ea21c463a5b0bfbe7303361809e76735d86b03b.tar.gz gentoo-8ea21c463a5b0bfbe7303361809e76735d86b03b.tar.bz2 gentoo-8ea21c463a5b0bfbe7303361809e76735d86b03b.zip |
sys-apps/groff: rework mom-pdf.pdf clean up again #454196 #516732
Diffstat (limited to 'sys-apps/groff')
-rw-r--r-- | sys-apps/groff/groff-1.22.2.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/groff/groff-1.22.3.ebuild | 7 |
2 files changed, 9 insertions, 2 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 } diff --git a/sys-apps/groff/groff-1.22.3.ebuild b/sys-apps/groff/groff-1.22.3.ebuild index c228175daead..712f51ff7945 100644 --- a/sys-apps/groff/groff-1.22.3.ebuild +++ b/sys-apps/groff/groff-1.22.3.ebuild @@ -74,5 +74,10 @@ src_install() { dosym eqn /usr/bin/geqn dosym tbl /usr/bin/gtbl - use examples || rm -rf "${ED}"/usr/share/doc/${PF}/examples + if ! use examples ; then + # 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 } |