From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 55A5C1395E2 for ; Wed, 7 Dec 2016 18:50:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9647E0ED3; Wed, 7 Dec 2016 18:50:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 837C7E0ED3 for ; Wed, 7 Dec 2016 18:50:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C239340EAA for ; Wed, 7 Dec 2016 18:50:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E264495 for ; Wed, 7 Dec 2016 18:50:47 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1481136492.8ea21c463a5b0bfbe7303361809e76735d86b03b.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/groff/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/groff/groff-1.22.2.ebuild sys-apps/groff/groff-1.22.3.ebuild X-VCS-Directories: sys-apps/groff/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 8ea21c463a5b0bfbe7303361809e76735d86b03b X-VCS-Branch: master Date: Wed, 7 Dec 2016 18:50:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 10052e4d-5169-4acc-8dad-8110fa18a366 X-Archives-Hash: f609e05e0c6abfaea6dbca5535a78892 commit: 8ea21c463a5b0bfbe7303361809e76735d86b03b Author: Mike Frysinger gentoo org> AuthorDate: Wed Dec 7 18:48:01 2016 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Wed Dec 7 18:48:12 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ea21c46 sys-apps/groff: rework mom-pdf.pdf clean up again #454196 #516732 sys-apps/groff/groff-1.22.2.ebuild | 4 +++- 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 0a7ac7b..e731d95 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 c228175..712f51f 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 }