From 4a0c3e59331abf5729775ee608cfe016c3d6fb88 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 14 Nov 2014 14:35:09 -0600 Subject: vrpn: update docs option --- Library/Formula/vrpn.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3