summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-06-04 18:19:03 +0000
committerHans de Graaff <graaff@gentoo.org>2013-06-04 18:19:03 +0000
commit1edc12029f6efb2c65029dad3c74df57662b3c42 (patch)
treeddbf1d4c235e4a4bc5808d289009726cd9d8237d /dev-ruby/railties
parentAllow rdoc 4.x. Actually install guides. (diff)
downloadgentoo-2-1edc12029f6efb2c65029dad3c74df57662b3c42.tar.gz
gentoo-2-1edc12029f6efb2c65029dad3c74df57662b3c42.tar.bz2
gentoo-2-1edc12029f6efb2c65029dad3c74df57662b3c42.zip
Only install guides with USE=doc.
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/railties')
-rw-r--r--dev-ruby/railties/ChangeLog5
-rw-r--r--dev-ruby/railties/railties-3.2.13-r1.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/dev-ruby/railties/ChangeLog b/dev-ruby/railties/ChangeLog
index 22bee77df08e..137d24453e70 100644
--- a/dev-ruby/railties/ChangeLog
+++ b/dev-ruby/railties/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/railties
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.56 2013/06/04 18:14:54 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.57 2013/06/04 18:19:03 graaff Exp $
+
+ 04 Jun 2013; Hans de Graaff <graaff@gentoo.org> railties-3.2.13-r1.ebuild:
+ Only install guides with USE=doc.
*railties-3.2.13-r1 (04 Jun 2013)
diff --git a/dev-ruby/railties/railties-3.2.13-r1.ebuild b/dev-ruby/railties/railties-3.2.13-r1.ebuild
index d2961a5cb269..e31a633a64ed 100644
--- a/dev-ruby/railties/railties-3.2.13-r1.ebuild
+++ b/dev-ruby/railties/railties-3.2.13-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.2.13-r1.ebuild,v 1.1 2013/06/04 18:14:54 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.2.13-r1.ebuild,v 1.2 2013/06/04 18:19:03 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ruby19"
@@ -62,8 +62,10 @@ all_ruby_prepare() {
all_ruby_install() {
all_fakegem_install
- mv guides/output guides/guides || die
- dohtml -r guides/guides
+ if use doc ; then
+ mv guides/output guides/guides || die
+ dohtml -r guides/guides
+ fi
ruby_fakegem_binwrapper rails rails-${PV}
}