diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-12-09 08:07:50 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-12-09 08:38:32 +0100 |
commit | 49f278d5347061181467e4d7867a20881ce582f1 (patch) | |
tree | 592c43b317c30bd81488c3dd3d548d42d1310eda /eclass/ruby-fakegem.eclass | |
parent | dev-ruby/fast_gettext: add 1.8.0 (diff) | |
download | gentoo-49f278d5347061181467e4d7867a20881ce582f1.tar.gz gentoo-49f278d5347061181467e4d7867a20881ce582f1.tar.bz2 gentoo-49f278d5347061181467e4d7867a20881ce582f1.zip |
eclass/ruby-fakegem.eclass: fix warning about compressed docs
Remove automatically generated compressed versions of the javascript
code to avoid warnings about colliding files by ecompress.
We can only do this for the "rdoc" recipe because that is the only
predictable generation method. The other recipes will need to handle
this in the ebuilds.
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'eclass/ruby-fakegem.eclass')
-rw-r--r-- | eclass/ruby-fakegem.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index ecbf6403e43d..e2c333a5e7f4 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ruby-fakegem.eclass @@ -380,6 +380,7 @@ all_fakegem_compile() { ;; rdoc) rdoc ${RUBY_FAKEGEM_DOC_SOURCES} || die "failed to (re)build documentation" + rm -f doc/js/*.gz || die "failed to remove duplicated compressed javascript files" ;; yard) yard doc ${RUBY_FAKEGEM_DOC_SOURCES} || die "failed to (re)build documentation" |