1 |
commit: 49f278d5347061181467e4d7867a20881ce582f1 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 9 07:07:50 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 9 07:38:32 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f278d5 |
7 |
|
8 |
eclass/ruby-fakegem.eclass: fix warning about compressed docs |
9 |
|
10 |
Remove automatically generated compressed versions of the javascript |
11 |
code to avoid warnings about colliding files by ecompress. |
12 |
|
13 |
We can only do this for the "rdoc" recipe because that is the only |
14 |
predictable generation method. The other recipes will need to handle |
15 |
this in the ebuilds. |
16 |
|
17 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
18 |
|
19 |
eclass/ruby-fakegem.eclass | 3 ++- |
20 |
1 file changed, 2 insertions(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass |
23 |
index ecbf6403e43..e2c333a5e7f 100644 |
24 |
--- a/eclass/ruby-fakegem.eclass |
25 |
+++ b/eclass/ruby-fakegem.eclass |
26 |
@@ -1,4 +1,4 @@ |
27 |
-# Copyright 1999-2018 Gentoo Foundation |
28 |
+# Copyright 1999-2018 Gentoo Authors |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
|
31 |
# @ECLASS: ruby-fakegem.eclass |
32 |
@@ -380,6 +380,7 @@ all_fakegem_compile() { |
33 |
;; |
34 |
rdoc) |
35 |
rdoc ${RUBY_FAKEGEM_DOC_SOURCES} || die "failed to (re)build documentation" |
36 |
+ rm -f doc/js/*.gz || die "failed to remove duplicated compressed javascript files" |
37 |
;; |
38 |
yard) |
39 |
yard doc ${RUBY_FAKEGEM_DOC_SOURCES} || die "failed to (re)build documentation" |