From 4686162fbffdaf0d7f20ddfdd5f39ee018345407 Mon Sep 17 00:00:00 2001 From: Kieran Ramos Date: Mon, 21 Apr 2014 17:24:05 -0400 Subject: pyqt5: option to install docs and examples Closes #28591. Signed-off-by: Adam Vandenberg --- Library/Formula/pyqt5.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3