summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-06-19 08:00:27 +0000
committerHans de Graaff <graaff@gentoo.org>2011-06-19 08:00:27 +0000
commit26744968b3f4410f532c3b0e0e0b4748a97fc35b (patch)
treec3987405105a25f397222b0377c2edf6ec3258ad /dev-ruby/kramdown
parentRemove old version. (diff)
downloadgentoo-2-26744968b3f4410f532c3b0e0e0b4748a97fc35b.tar.gz
gentoo-2-26744968b3f4410f532c3b0e0e0b4748a97fc35b.tar.bz2
gentoo-2-26744968b3f4410f532c3b0e0e0b4748a97fc35b.zip
Only generate docs when USE=doc. Fixes bug 372189, thanks to Kai Dietrich for the proposed fix.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/kramdown')
-rw-r--r--dev-ruby/kramdown/ChangeLog6
-rw-r--r--dev-ruby/kramdown/kramdown-0.13.3.ebuild6
2 files changed, 9 insertions, 3 deletions
diff --git a/dev-ruby/kramdown/ChangeLog b/dev-ruby/kramdown/ChangeLog
index 75879ac903b1..547d1c1dc467 100644
--- a/dev-ruby/kramdown/ChangeLog
+++ b/dev-ruby/kramdown/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/kramdown
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/ChangeLog,v 1.7 2011/06/19 07:44:10 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/ChangeLog,v 1.8 2011/06/19 08:00:27 graaff Exp $
+
+ 19 Jun 2011; Hans de Graaff <graaff@gentoo.org> kramdown-0.13.3.ebuild:
+ Only generate docs when USE=doc. Fixes bug 372189, thanks to Kai Dietrich for
+ the proposed fix.
19 Jun 2011; Hans de Graaff <graaff@gentoo.org> -kramdown-0.13.2.ebuild:
Remove old version.
diff --git a/dev-ruby/kramdown/kramdown-0.13.3.ebuild b/dev-ruby/kramdown/kramdown-0.13.3.ebuild
index 8453bd669744..0ce6c9005818 100644
--- a/dev-ruby/kramdown/kramdown-0.13.3.ebuild
+++ b/dev-ruby/kramdown/kramdown-0.13.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/kramdown-0.13.3.ebuild,v 1.1 2011/05/06 14:57:30 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/kramdown-0.13.3.ebuild,v 1.2 2011/06/19 08:00:27 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18 jruby"
@@ -22,7 +22,9 @@ IUSE=""
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
all_ruby_compile() {
- rdoc-2 -o htmldoc/rdoc --main README --title kramdown lib README || die "Unable to generate documentation"
+ if use doc; then
+ rdoc-2 -o htmldoc/rdoc --main README --title kramdown lib README || die "Unable to generate documentation"
+ fi
}
all_ruby_install() {