Permalink
Browse files

Use built-in command for man page install

use man1.install and simplify 2 lines to 1
  • Loading branch information...
1 parent 3059b57 commit 83a7571ac847721e7bdba910d7fd0f26c5ae3635 @thaxter thaxter committed Sep 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 Library/Formula/analog.rb
@@ -18,8 +18,7 @@ def install
system "mkdir -p #{share}/analog"
system "cp -R examples how-to images lang #{share}/analog/"
system "cp analog.cfg #{share}/analog/analog.cfg-dist"
- system "mkdir -p #{man1}"
- system "cp analog.man #{man1}/analog.1"
+ man1.install "analog.man" => "analog.1"
end
def test

0 comments on commit 83a7571

Please sign in to comment.