Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/pspp: ChangeLog pspp-0.8.1-r1.ebuild
Date: Wed, 30 Oct 2013 18:03:34
Message-Id: 20131030180329.6CF2220047@flycatcher.gentoo.org
1 jlec 13/10/30 18:03:29
2
3 Modified: ChangeLog pspp-0.8.1-r1.ebuild
4 Log:
5 sci-mathematics/pspp: Fixing out-of-source doc build
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
8
9 Revision Changes Path
10 1.27 sci-mathematics/pspp/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pspp/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pspp/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pspp/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 30 Oct 2013 17:36:56 -0000 1.26
23 +++ ChangeLog 30 Oct 2013 18:03:29 -0000 1.27
24 @@ -1,6 +1,9 @@
25 # ChangeLog for sci-mathematics/pspp
26 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v 1.26 2013/10/30 17:36:56 jlec Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/ChangeLog,v 1.27 2013/10/30 18:03:29 jlec Exp $
29 +
30 + 30 Oct 2013; Justin Lecher <jlec@g.o> pspp-0.8.1-r1.ebuild:
31 + Fixing out-of-source doc build
32
33 *pspp-0.8.1-r1 (30 Oct 2013)
34
35
36
37
38 1.2 sci-mathematics/pspp/pspp-0.8.1-r1.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pspp/pspp-0.8.1-r1.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pspp/pspp-0.8.1-r1.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pspp/pspp-0.8.1-r1.ebuild?r1=1.1&r2=1.2
43
44 Index: pspp-0.8.1-r1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/pspp-0.8.1-r1.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- pspp-0.8.1-r1.ebuild 30 Oct 2013 17:36:56 -0000 1.1
51 +++ pspp-0.8.1-r1.ebuild 30 Oct 2013 18:03:29 -0000 1.2
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2013 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/pspp-0.8.1-r1.ebuild,v 1.1 2013/10/30 17:36:56 jlec Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pspp/pspp-0.8.1-r1.ebuild,v 1.2 2013/10/30 18:03:29 jlec Exp $
57
58 EAPI=5
59
60 @@ -59,11 +59,16 @@
61
62 src_compile() {
63 autotools-utils_src_compile pkglibdir="${EPREFIX}/usr/$(get_libdir)"
64 - use doc && emake html pdf
65 - use emacs && elisp-compile *.el
66 + use doc && autotools-utils_src_compile html pdf
67 + use emacs && cd "${BUILD_DIR}" && elisp-compile *.el
68 }
69
70 src_install() {
71 + if use doc; then
72 + HTML_DOCS=( "${BUILD_DIR}"/doc/pspp{,-dev}.html )
73 + DOCS=( "${BUILD_DIR}"/doc/pspp{,-dev}.pdf )
74 + fi
75 +
76 autotools-utils_src_install pkglibdir="${EPREFIX}/usr/$(get_libdir)"
77
78 if use examples; then
79 @@ -71,11 +76,6 @@
80 doins -r examples
81 fi
82
83 - if use doc; then
84 - dohtml -r doc/pspp{,-dev}.html
85 - dodoc doc/pspp{,-dev}.pdf
86 - fi
87 -
88 if use emacs; then
89 elisp-install ${PN} *.el *.elc
90 elisp-site-file-install "${FILESDIR}/${SITEFILE}"