aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-11-14 14:35:09 -0600
committerJack Nagel2014-11-14 14:46:57 -0600
commit4a0c3e59331abf5729775ee608cfe016c3d6fb88 (patch)
tree21a7731f669484dead5e38c9165471cfc0e7558b /Library
parent1af7191fc24ca5e5577431c829c77e661ee7be55 (diff)
downloadhomebrew-4a0c3e59331abf5729775ee608cfe016c3d6fb88.tar.bz2
vrpn: update docs option
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/vrpn.rb7
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