Use dodoc instead of doins
authorRob Cakebread <pythonhead@gentoo.org>
Thu, 31 Jul 2008 19:29:47 +0000 (19:29 +0000)
committerRob Cakebread <pythonhead@gentoo.org>
Thu, 31 Jul 2008 19:29:47 +0000 (19:29 +0000)
git-svn-id: http://g-pypi.googlecode.com/svn/trunk@13 118783bc-b352-0410-bbc3-0f610f6f7ae8

g_pypi/ebuild.py

index 428ae591ba1d88b05d052d7493e1bdc7ef3576c3..cde41eec0dd0c01aecb9189dba0be650aa51887c 100755 (executable)
@@ -372,8 +372,7 @@ class Ebuild:
             src_install += '\tdistutils_src_install\n'
             if have_docs:
                 src_install += '\tif use doc; then\n'
-                src_install += '\t\tinsinto /usr/share/doc/"${PF}"\n'
-                src_install += '\t\tdodocs -r "${S}"/%s/*\n' % have_docs
+                src_install += '\t\tdodoc "${S}"/%s/*\n' % have_docs
                 src_install += '\tfi\n'
             if have_examples:
                 src_install += '\tif use examples; then\n'