diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xml2rfc.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/xml2rfc.rb b/Library/Formula/xml2rfc.rb index 431a28edb..845342d74 100644 --- a/Library/Formula/xml2rfc.rb +++ b/Library/Formula/xml2rfc.rb @@ -19,12 +19,13 @@ class Xml2rfc <Formula def install %w[xml2rfc xml2sgml].each do |f| - FileUtils.mv f+'.tcl', f - bin.install f + bin.install f+'.tcl' => f end + %w[xml2txt xml2html xml2nroff].each do |f| - FileUtils.ln "#{prefix}/bin/xml2rfc", "#{prefix}/bin/"+f - end - Dir["*"].each {|f| doc.install f} + ln_s "#{bin}/xml2rfc", "#{bin}/#{f}" + end + + doc.install Dir["*"] end end |
