1 |
commit: e3f50204586f2520fd195979ac22423643103bbe |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 09:16:42 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 09:16:42 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3f50204 |
7 |
|
8 |
eclass/latex-package.eclass: Add LATEX_PACKAGE_SKIP variable to allow skipping rebuild of some docs. |
9 |
|
10 |
eclass/latex-package.eclass | 1 + |
11 |
1 file changed, 1 insertion(+) |
12 |
|
13 |
diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass |
14 |
index bfddfad..d810e28 100644 |
15 |
--- a/eclass/latex-package.eclass |
16 |
+++ b/eclass/latex-package.eclass |
17 |
@@ -138,6 +138,7 @@ latex-package_src_doinstall() { |
18 |
if ! in_iuse doc || use doc ; then |
19 |
for i in `find . -maxdepth 1 -type f -name "*.${1}"` |
20 |
do |
21 |
+ [ -n "${LATEX_PACKAGE_SKIP}" ] && has ${i##*/} ${LATEX_PACKAGE_SKIP} && continue |
22 |
einfo "Making documentation: $i" |
23 |
if pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i &> /dev/null ; then |
24 |
pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i &> /dev/null || die |