diff options
| author | Tim Shadel | 2012-08-22 16:47:31 -0600 | 
|---|---|---|
| committer | Adam Vandenberg | 2012-09-04 07:52:45 -0700 | 
| commit | 451d3d90ba2f3d5b1a90a2cf1e57c857c08552f3 (patch) | |
| tree | df278c701c15dbf397712967d21cfed1d451a213 /Library/Formula/appledoc.rb | |
| parent | f20d35ac2f94c4bcb87dcd748ed46c18cabdc8f5 (diff) | |
| download | homebrew-451d3d90ba2f3d5b1a90a2cf1e57c857c08552f3.tar.bz2 | |
Appledoc 2.0.6
Compile-in default template location
Allows most folks to avoid linking to the Templates, but still
allows them to override the default templates in any documented
manner.
Closes #14693.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/appledoc.rb')
| -rw-r--r-- | Library/Formula/appledoc.rb | 19 | 
1 files changed, 5 insertions, 14 deletions
diff --git a/Library/Formula/appledoc.rb b/Library/Formula/appledoc.rb index 537864dc8..47f49f677 100644 --- a/Library/Formula/appledoc.rb +++ b/Library/Formula/appledoc.rb @@ -2,8 +2,8 @@ require 'formula'  class Appledoc < Formula    homepage 'http://appledoc.gentlebytes.com/' -  url "https://github.com/tomaz/appledoc/tarball/v2.0.5" -  sha1 'c310584b16812826a1b054d2b96e040c82d709ff' +  url "https://github.com/tomaz/appledoc/tarball/v2.0.6" +  sha1 '8e9030425aad78db16b79841568b26a6c085d255'    head 'https://github.com/tomaz/appledoc.git', :branch => 'master' @@ -13,24 +13,15 @@ class Appledoc < Formula      system "xcodebuild", "-project", "appledoc.xcodeproj",                           "-target", "appledoc",                           "-configuration", "Release", -                         "install", +                         "clean", "install",                           "SYMROOT=build",                           "DSTROOT=build", -                         "INSTALL_PATH=/bin" +                         "INSTALL_PATH=/bin", +                         "OTHER_CFLAGS='-DCOMPILE_TIME_DEFAULT_TEMPLATE_PATH=@\"#{prefix}/Templates\"'"      bin.install "build/bin/appledoc"      prefix.install "Templates/"    end -  def caveats; <<-EOS.undent -    Make the documentation templates available to `appledoc': -      ln -sf "#{prefix}/Templates" "#{ENV['HOME']}/Library/Application Support/appledoc" - -    If you have edited the templates yourself, you should check for important changes. - -    NOTE someone should patch this tool so this caveat is unecessary. -    EOS -  end -    def test      system "#{bin}/appledoc", "--version"    end  | 
