aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-03-29 09:28:14 -0500
committerMike McQuaid2014-03-29 09:28:14 -0500
commitd23979380bdb9c48bb4fa006af3ff8964729db1f (patch)
treeae15320c14012cbf8070380da4275fd152e1eea2 /Library/Formula
parent9a3a150fc9e1cda490ce86b1ecee4a9567111c9e (diff)
downloadhomebrew-d23979380bdb9c48bb4fa006af3ff8964729db1f.tar.bz2
pmd: general cleanup.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pmd.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/pmd.rb b/Library/Formula/pmd.rb
index 6d68c2dcf..5a255bef4 100644
--- a/Library/Formula/pmd.rb
+++ b/Library/Formula/pmd.rb
@@ -7,7 +7,10 @@ class Pmd < Formula
def install
rm Dir["bin/*.{bat,cmd,dll,exe}"]
- libexec.install Dir["*"]
+
+ doc.install "LICENSE", "NOTICE", "ReadMe.txt", "licences", Dir["docs/*"]
+ libexec.install "bin", "etc", "lib"
+
bin.install_symlink "#{libexec}/bin/run.sh" => "pmd"
# the run script references paths which don't account for the
@@ -16,7 +19,7 @@ class Pmd < Formula
end
def caveats; <<-EOS.undent
- Use `pmd` instead of run.sh as described in the official documentation.
+ Run with `pmd` (instead of `run.sh` as described in the documentation).
EOS
end