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.4.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.4.ebuild')
-rw-r--r--dev-vcs/git/git-1.6.4.4.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-vcs/git/git-1.6.4.4.ebuild b/dev-vcs/git/git-1.6.4.4.ebuild
index c68e79bcec30..32720760af55 100644
--- a/dev-vcs/git/git-1.6.4.4.ebuild
+++ b/dev-vcs/git/git-1.6.4.4.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.4.ebuild,v 1.5 2010/08/16 05:47:29 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.6.4.4.ebuild,v 1.6 2010/12/20 07:49:24 robbat2 Exp $
EAPI=2
@@ -200,7 +200,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