app-portage/eclass-manpages: fail when there are errors in eclass docs
authorMike Frysinger <vapier@gentoo.org>
Fri, 14 Aug 2015 04:25:47 +0000 (00:25 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 14 Aug 2015 04:25:47 +0000 (00:25 -0400)
This will get people to file bugs when developers break the documentation.

app-portage/eclass-manpages/eclass-manpages-20150814.ebuild

index 44353c2dd4c2276e4be287c034208a5d21f62865..60d49d8337a6cea112c2f2bf5bd5b1e6be1c3ac2 100644 (file)
@@ -30,9 +30,9 @@ src_compile() {
        for o in ${PORTDIR_OVERLAY} ; do
                e="${o}/eclass"
                [[ -d ${e} ]] || continue
-               genit "${e}"
+               genit "${e}" || die
        done
-       genit
+       genit || die
 }
 
 src_install() {