diff options
author | Mamoru Komachi <usata@gentoo.org> | 2003-10-12 21:22:48 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2003-10-12 21:22:48 +0000 |
commit | 8e0530dcf7203b364a77115516c01b4b68911712 (patch) | |
tree | 4cf9463242e901ffc3c88fceacff42b9ee196ba7 /eclass/ruby.eclass | |
parent | New snapshot. Last regular snapshot before 4.4, new ones will be released as ... (diff) | |
download | gentoo-2-8e0530dcf7203b364a77115516c01b4b68911712.tar.gz gentoo-2-8e0530dcf7203b364a77115516c01b4b68911712.tar.bz2 gentoo-2-8e0530dcf7203b364a77115516c01b4b68911712.zip |
Added erubydoc function. Src_compile passes arguments to erubymake.
Diffstat (limited to 'eclass/ruby.eclass')
-rw-r--r-- | eclass/ruby.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass index eefee2a6fd1c..58fcb34928e2 100644 --- a/eclass/ruby.eclass +++ b/eclass/ruby.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.7 2003/10/12 19:07:31 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.8 2003/10/12 21:22:48 usata Exp $ # # Author: Mamoru KOMACHI <usata@gentoo.org> # @@ -9,7 +9,7 @@ ECLASS=ruby INHERITED="${INHERITED} ${ECLASS}" -EXPORT_FUNCTIONS erubyconf erubymake erubyinstall \ +EXPORT_FUNCTIONS erubyconf erubymake erubyinstall erubydoc \ src_unpack src_compile src_install HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=${PN}" @@ -66,7 +66,7 @@ erubyconf() { erubymake() { if [ -f Makefile ] ; then - emake || die "emake failed" + emake $@ || die "emake failed" fi } @@ -77,17 +77,17 @@ ruby_src_compile() { einfo "src_compiling for ruby 1.6 ;)" cd 1.6/${S#${WORKDIR}} erubyconf ruby16 || die - erubymake || die + erubymake $@ || die cd - einfo "src_compiling for ruby 1.8 ;)" cd 1.8/${S#${WORKDIR}} erubyconf ruby18 || die - erubymake || die + erubymake $@ || die cd - else einfo "src_compiling ;)" erubyconf || die - erubymake || die + erubymake $@ || die fi } |