diff options
| author | Jack Nagel | 2014-09-08 00:10:06 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-08 00:11:54 -0500 |
| commit | df1aa2d2f3716e2e1d04afff16f0a865d6744635 (patch) | |
| tree | 137f6f86bf8a1b94d4feefa986e919a7688a182f | |
| parent | dfe114dce97c8e2d052e05c64a505793a189a150 (diff) | |
| download | homebrew-df1aa2d2f3716e2e1d04afff16f0a865d6744635.tar.bz2 | |
Use doc helper where appropriate
| -rw-r--r-- | Library/Formula/ddclient.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/git-tf.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/linklint.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/mutt.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/userspace-rcu.rb | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/ddclient.rb b/Library/Formula/ddclient.rb index 6b4f261c8..a382a4071 100644 --- a/Library/Formula/ddclient.rb +++ b/Library/Formula/ddclient.rb @@ -24,7 +24,7 @@ class Ddclient < Formula inreplace 'sample-etc_ddclient.conf', "/var/run/ddclient.pid", "#{var}/run/ddclient/pid" - (share+'doc/ddclient').install %w( + doc.install %w( sample-ddclient-wrapper.sh sample-etc_cron.d_ddclient sample-etc_ddclient.conf diff --git a/Library/Formula/git-tf.rb b/Library/Formula/git-tf.rb index d3ac7df7a..06ded8a88 100644 --- a/Library/Formula/git-tf.rb +++ b/Library/Formula/git-tf.rb @@ -24,7 +24,7 @@ class GitTf < Formula (libexec + "native").install install_prefix + 'native/macosx' bin.write_exec_script libexec/'git-tf' - (share/'doc/git-tf').install Dir['Git-TF_*', 'ThirdPartyNotices*'] + doc.install Dir['Git-TF_*', 'ThirdPartyNotices*'] end def caveats; <<-EOS.undent diff --git a/Library/Formula/linklint.rb b/Library/Formula/linklint.rb index a8fc362fc..dffaead64 100644 --- a/Library/Formula/linklint.rb +++ b/Library/Formula/linklint.rb @@ -17,7 +17,7 @@ class Linklint < Formula # note, upstream is abandoned, so inreplace instead of patch inreplace "linklint-#{version}", "2.3.1", version if build.devel? - (share+'doc/linklint').install "README" + doc.install "README" bin.install "linklint-#{version}" => "linklint" end diff --git a/Library/Formula/mutt.rb b/Library/Formula/mutt.rb index af5c77d38..78e2ba14d 100644 --- a/Library/Formula/mutt.rb +++ b/Library/Formula/mutt.rb @@ -102,6 +102,6 @@ class Mutt < Formula system "make" system "make", "install" - (share/"doc/mutt").install resource("html") if build.head? + doc.install resource("html") if build.head? end end diff --git a/Library/Formula/userspace-rcu.rb b/Library/Formula/userspace-rcu.rb index f3da83ddb..01d1e7b1c 100644 --- a/Library/Formula/userspace-rcu.rb +++ b/Library/Formula/userspace-rcu.rb @@ -19,7 +19,7 @@ class UserspaceRcu < Formula end test do - system "cp", "-a", "#{share}/doc/userspace-rcu/examples", "." + system "cp", "-a", "#{doc}/examples", "." system "make", "-C", "examples" end end |
