gcc: remove all info files.
Closes #8412. Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
parent
27c529bc10
commit
a32eb72835
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,7 @@ class Gcc < Formula
|
||||||
|
|
||||||
desc "GNU compiler collection"
|
desc "GNU compiler collection"
|
||||||
homepage "https://gcc.gnu.org"
|
homepage "https://gcc.gnu.org"
|
||||||
|
revision 1
|
||||||
|
|
||||||
head "svn://gcc.gnu.org/svn/gcc/trunk"
|
head "svn://gcc.gnu.org/svn/gcc/trunk"
|
||||||
|
|
||||||
|
@ -189,6 +190,8 @@ class Gcc < Formula
|
||||||
# with system compilers.
|
# with system compilers.
|
||||||
# Rename man7.
|
# Rename man7.
|
||||||
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
|
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
|
||||||
|
# Even when we disable building info pages some are still installed.
|
||||||
|
info.rmtree
|
||||||
end
|
end
|
||||||
|
|
||||||
def add_suffix(file, suffix)
|
def add_suffix(file, suffix)
|
||||||
|
|
Loading…
Reference in a new issue