From d23979380bdb9c48bb4fa006af3ff8964729db1f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 29 Mar 2014 09:28:14 -0500 Subject: pmd: general cleanup. --- Library/Formula/pmd.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3