aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/xml2rfc.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-16 15:11:30 -0700
committerAdam Vandenberg2010-04-16 15:11:30 -0700
commit9ee5c23ad485ea8fa0313d9c0ccdea14cd3b1eb6 (patch)
tree28af38a455e0f6ea8dc3c69cc0dcab8b3e453171 /Library/Formula/xml2rfc.rb
parentdbfa7be440a5de21d364a41625a4aeac3e096067 (diff)
downloadhomebrew-9ee5c23ad485ea8fa0313d9c0ccdea14cd3b1eb6.tar.bz2
xml2rfc cleanup
Diffstat (limited to 'Library/Formula/xml2rfc.rb')
-rw-r--r--Library/Formula/xml2rfc.rb11
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