diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-08-02 11:16:42 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-08-02 11:16:42 +0200 |
commit | e3f50204586f2520fd195979ac22423643103bbe (patch) | |
tree | 154901a9b9024a512828612eb36df0fd35f0d0d3 /eclass | |
parent | dev-tex/chktex: build dvi file at src_compile instead of src_install; should ... (diff) | |
download | gentoo-e3f50204586f2520fd195979ac22423643103bbe.tar.gz gentoo-e3f50204586f2520fd195979ac22423643103bbe.tar.bz2 gentoo-e3f50204586f2520fd195979ac22423643103bbe.zip |
eclass/latex-package.eclass: Add LATEX_PACKAGE_SKIP variable to allow skipping rebuild of some docs.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/latex-package.eclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index bfddfadf4d01..d810e2878998 100644 --- a/eclass/latex-package.eclass +++ b/eclass/latex-package.eclass @@ -138,6 +138,7 @@ latex-package_src_doinstall() { if ! in_iuse doc || use doc ; then for i in `find . -maxdepth 1 -type f -name "*.${1}"` do + [ -n "${LATEX_PACKAGE_SKIP}" ] && has ${i##*/} ${LATEX_PACKAGE_SKIP} && continue einfo "Making documentation: $i" if pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i &> /dev/null ; then pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i &> /dev/null || die |