summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-12-20 07:49:25 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-12-20 07:49:25 +0000
commite7427f26a8c612e2b872c5877f06b8bba2ae9635 (patch)
tree80f21b6c57157be4426620bdcd25394b924aa9ff /dev-vcs/git/git-1.6.4.5.ebuild
parentx86 stable wrt security bug #294256 (diff)
downloadgentoo-2-e7427f26a8c612e2b872c5877f06b8bba2ae9635.tar.gz
gentoo-2-e7427f26a8c612e2b872c5877f06b8bba2ae9635.tar.bz2
gentoo-2-e7427f26a8c612e2b872c5877f06b8bba2ae9635.zip
Backport the doman cosmetic fix to ALL ebuilds since I got yet another bug about it.
(Portage version: 2.2.0_alpha6/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs/git/git-1.6.4.5.ebuild')
-rw-r--r--dev-vcs/git/git-1.6.4.5.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-vcs/git/git-1.6.4.5.ebuild b/dev-vcs/git/git-1.6.4.5.ebuild
index bc0dcf5555a3..3a47e5fb01f1 100644
--- a/dev-vcs/git/git-1.6.4.5.ebuild
+++ b/dev-vcs/git/git-1.6.4.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.6.4.5.ebuild,v 1.2 2010/12/19 12:40:52 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.6.4.5.ebuild,v 1.3 2010/12/20 07:49:24 robbat2 Exp $
EAPI=2
@@ -204,7 +204,10 @@ src_install() {
install || \
die "make install failed"
- doman man?/*.[157] Documentation/*.[157]
+ # Depending on the tarball and manual rebuild of the documentation, the
+ # manpages may exist in either OR both of these directories.
+ find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]
+ find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157]
dodoc README Documentation/{SubmittingPatches,CodingGuidelines}
use doc && dodir /usr/share/doc/${PF}/html