1 |
Hi, |
2 |
|
3 |
I am referring to this thread here, please make sure you read it in case you |
4 |
have not already: |
5 |
"parallel fun in src_install - going beyond the serial monotony of 'make |
6 |
install'" |
7 |
http://thread.gmane.org/gmane.linux.gentoo.devel/38901/focus=38901 |
8 |
|
9 |
Since nobody has objected there I would like to update the documentation to |
10 |
reflect this change. I have attached a patch to do this for skel.ebuild and |
11 |
sent a patch to plasmaroo for the devmanual. Is there any other |
12 |
documentation that needs updating? |
13 |
|
14 |
- Stefan Schweizer |
15 |
|
16 |
|
17 |
--- /usr/portage/skel.ebuild 2006-06-20 20:05:18.000000000 +0200 |
18 |
+++ skel.ebuild 2006-06-22 17:43:00.000000000 +0200 |
19 |
@@ -134,23 +134,27 @@ |
20 |
# anything outside of DESTDIR; do this by reading and |
21 |
# understanding the install part of the Makefiles. |
22 |
# This is the preferred way to install. |
23 |
- make DESTDIR=${D} install || die |
24 |
+ emake DESTDIR=${D} install || die "emake install failed" |
25 |
+ |
26 |
+ # when you hit a failure with emake, dont just use make. It is |
27 |
+ # better to fix the Makefiles to allow proper parallelization. |
28 |
+ # If you fail with that, use "emake -j1", still better than make. |
29 |
|
30 |
# For Makefiles that don't make proper use of DESTDIR, setting |
31 |
# prefix is often an alternative. However if you do this, then |
32 |
# you also need to specify mandir and infodir, since they were |
33 |
# passed to ./configure as absolute paths (overriding the prefix |
34 |
# setting). |
35 |
- #make \ |
36 |
+ #emake \ |
37 |
# prefix=${D}/usr \ |
38 |
# mandir=${D}/usr/share/man \ |
39 |
# infodir=${D}/usr/share/info \ |
40 |
# libdir=${D}/usr/$(get_libdir) \ |
41 |
- # install || die |
42 |
+ # install || die "emake install failed" |
43 |
# Again, verify the Makefiles! We don't want anything falling |
44 |
# outside of ${D}. |
45 |
|
46 |
# The portage shortcut to the above command is simply: |
47 |
# |
48 |
- #einstall || die |
49 |
+ #einstall || die "einstall failed" |
50 |
} |
51 |
|
52 |
-- |
53 |
gentoo-dev@g.o mailing list |