diff options
| author | Kieran Ramos | 2014-04-21 17:24:05 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2014-04-27 22:10:02 -0700 |
| commit | 4686162fbffdaf0d7f20ddfdd5f39ee018345407 (patch) | |
| tree | b96fcb047816e12ab8327db7f7ff38f4018cf968 /Library/Formula | |
| parent | 981a20dc8dbbe54a4f16c6bd96ba6882087bf36c (diff) | |
| download | homebrew-4686162fbffdaf0d7f20ddfdd5f39ee018345407.tar.bz2 | |
pyqt5: option to install docs and examples
Closes #28591.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pyqt5.rb | 2 |
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 |
