dev-tex/chktex: build dvi file at src_compile instead of src_install; should fix...
authorAlexis Ballier <aballier@gentoo.org>
Tue, 2 Aug 2016 08:42:12 +0000 (10:42 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 2 Aug 2016 08:42:32 +0000 (10:42 +0200)
Package-Manager: portage-2.3.0

dev-tex/chktex/chktex-1.7.5.ebuild

index cca1bf4786dfba53aafd1bb115b3dfb797952059..5d1fb74e93cee0f816e5adc9ab827f4c0241444e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -40,6 +40,7 @@ src_configure() {
 
 src_compile() {
        autotools-utils_src_compile
+       autotools-utils_src_compile ChkTeX.dvi
        use doc && autotools-utils_src_compile html
 }
 
@@ -48,6 +49,7 @@ src_install() {
                HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX/")
                DOCS+=("${AUTOTOOLS_BUILD_DIR}/HTML/ChkTeX.tex")
        fi
+       DOCS+=("${AUTOTOOLS_BUILD_DIR}/ChkTeX.dvi")
        autotools-utils_src_install
        doman *.1
 }