From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: texlive-module.eclass |
Date: | Sat, 20 Oct 2007 17:26:08 |
Message-Id: | E1IjHv3-0000vJ-9t@stork.gentoo.org |
1 | aballier 07/10/20 17:15:25 |
2 | |
3 | Modified: texlive-module.eclass |
4 | Log: |
5 | also remove texmf/doc directory if doc useflag is not set, will save much more space if you dont want the documention |
6 | |
7 | Revision Changes Path |
8 | 1.4 eclass/texlive-module.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.4&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?rev=1.4&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/texlive-module.eclass?r1=1.3&r2=1.4 |
13 | |
14 | Index: texlive-module.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v |
17 | retrieving revision 1.3 |
18 | retrieving revision 1.4 |
19 | diff -u -r1.3 -r1.4 |
20 | --- texlive-module.eclass 20 Oct 2007 12:51:25 -0000 1.3 |
21 | +++ texlive-module.eclass 20 Oct 2007 17:15:24 -0000 1.4 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2004 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.3 2007/10/20 12:51:25 aballier Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.4 2007/10/20 17:15:24 aballier Exp $ |
27 | |
28 | # |
29 | # Original Author: Alexis Ballier <aballier@g.o> |
30 | @@ -86,10 +86,16 @@ |
31 | done |
32 | |
33 | insinto /usr/share |
34 | + if use doc; then |
35 | + [ -d texmf-doc ] && doins -r texmf-doc |
36 | + else |
37 | + [ -d texmf/doc ] && rm -rf texmf/doc |
38 | + [ -d texmf-dist/doc ] && rm -rf texmf-dist/doc |
39 | + fi |
40 | + |
41 | [ -d texmf ] && doins -r texmf |
42 | [ -d texmf-dist ] && doins -r texmf-dist |
43 | - use doc && [ -d texmf-doc ] && doins -r texmf-doc |
44 | - |
45 | + |
46 | TEXMFSYSVAR="$(kpsewhich -var-value=TEXMFSYSVAR)" |
47 | insinto "${TEXMFSYSVAR}" |
48 | [ -d texmf-var ] && doins -r texmf-var/* |
49 | |
50 | |
51 | |
52 | -- |
53 | gentoo-commits@g.o mailing list |