qt5: fix doc installation.

Closes Homebrew/homebrew#25414.
Closes Homebrew/homebrew#25550.
Closes Homebrew/homebrew#25553.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Nils Fenner 2013-12-30 14:48:21 +01:00 committed by Mike McQuaid
parent 82980ce56e
commit d63114d834
1 changed files with 4 additions and 1 deletions

View File

@ -84,9 +84,12 @@ class Qt5 < Formula
system "./configure", *args
system "make"
system "make", "docs" if build.with? 'docs'
ENV.j1
system "make install"
if build.with? 'docs'
system "make", "docs"
system "make", "install_docs"
end
# Some config scripts will only find Qt in a "Frameworks" folder
cd prefix do