diff options
| author | Mike McQuaid | 2014-03-29 09:28:14 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2014-03-29 09:28:14 -0500 |
| commit | d23979380bdb9c48bb4fa006af3ff8964729db1f (patch) | |
| tree | ae15320c14012cbf8070380da4275fd152e1eea2 /Library | |
| parent | 9a3a150fc9e1cda490ce86b1ecee4a9567111c9e (diff) | |
| download | homebrew-d23979380bdb9c48bb4fa006af3ff8964729db1f.tar.bz2 | |
pmd: general cleanup.
Diffstat (limited to 'Library')
| -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 |
