dev-cpp/gflags: Update doc install
authorMichał Górny <mgorny@gentoo.org>
Thu, 29 Jun 2017 08:39:29 +0000 (10:39 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Jul 2017 21:41:20 +0000 (23:41 +0200)
Update the list of installed doc files to match upstream updates. Do not
install AUTHORS file since it does not list anyone. Do not install HTML
docs from doc/ since that file is missing from release tarballs.

dev-cpp/gflags/gflags-9999.ebuild

index aba9ef3c3996b79d11cc1e1b094cd8de00b4b062..da82cc017472fddb848ae13f2bebeaf769b515a8 100644 (file)
@@ -20,6 +20,9 @@ LICENSE="BSD"
 SLOT="0"
 IUSE="static-libs"
 
+# AUTHORS.txt only links the google group
+DOCS=( ChangeLog.txt README.md )
+
 multilib_src_configure() {
        local mycmakeargs=(
                -DBUILD_SHARED_LIBS=ON
@@ -27,9 +30,3 @@ multilib_src_configure() {
        )
        cmake-utils_src_configure
 }
-
-multilib_src_install_all() {
-       rm -rf "${ED}"/usr/share/doc
-       dodoc {AUTHORS,ChangeLog,NEWS,README}.txt
-       dohtml doc/*
-}