diff options
| author | Jack Nagel | 2014-11-14 14:35:09 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-11-14 14:46:57 -0600 |
| commit | 4a0c3e59331abf5729775ee608cfe016c3d6fb88 (patch) | |
| tree | 21a7731f669484dead5e38c9165471cfc0e7558b /Library/Formula | |
| parent | 1af7191fc24ca5e5577431c829c77e661ee7be55 (diff) | |
| download | homebrew-4a0c3e59331abf5729775ee608cfe016c3d6fb88.tar.bz2 | |
vrpn: update docs option
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/vrpn.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/vrpn.rb b/Library/Formula/vrpn.rb index ca137d4df..054217566 100644 --- a/Library/Formula/vrpn.rb +++ b/Library/Formula/vrpn.rb @@ -8,11 +8,12 @@ class Vrpn < Formula head 'git://git.cs.unc.edu/vrpn.git' option 'clients', 'Build client apps and tests' - option 'docs', 'Build doxygen-based API documentation' + option "with-docs", "Build doxygen-based API documentation" + deprecated_option "docs" => "with-docs" depends_on 'cmake' => :build depends_on 'libusb' # for HID support - depends_on 'doxygen' if build.include? 'docs' + depends_on "doxygen" => :build if build.with? "docs" def install ENV.libstdcxx @@ -28,7 +29,7 @@ class Vrpn < Formula mkdir "build" do system "cmake", *args - system "make doc" if build.include? 'docs' + system "make doc" if build.with? "docs" system "make install" end end |
