diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pmd.rb | 7 |
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 |
