From 9ee5c23ad485ea8fa0313d9c0ccdea14cd3b1eb6 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 16 Apr 2010 15:11:30 -0700 Subject: xml2rfc cleanup --- Library/Formula/xml2rfc.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Library/Formula') 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 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 -- cgit v1.2.3