aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pyqt5.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/pyqt5.rb b/Library/Formula/pyqt5.rb
index 1097611c7..75abb74ef 100644
--- a/Library/Formula/pyqt5.rb
+++ b/Library/Formula/pyqt5.rb
@@ -6,6 +6,7 @@ class Pyqt5 < Formula
sha1 '7d72ec27bfe547223b4b11db8a90603fe4796530'
option 'enable-debug', "Build with debug symbols"
+ option 'with-docs', "Install HTML documentation and python examples"
depends_on :python3 => :recommended
depends_on :python => :optional
@@ -43,6 +44,7 @@ class Pyqt5 < Formula
system "make", "install"
system "make", "clean"
end
+ doc.install 'doc/html', 'examples' if build.with? "docs"
end
test do