From: Robert Dober Date: 2009-02-09T09:09:52+09:00 Subject: Re: [ANN] Full Ruport Book manuscripts now on Github On Mon, Feb 9, 2009 at 12:49 AM, Rick DeNatale wrote: > On Sun, Feb 8, 2009 at 4:38 PM, Gregory Brown wrote: > > Okay the url is now > http://github.com/rubyredrick/ruport-book/tree/masterand the clone url > is now: git:// > github.com/rubyredrick/ruport-book.git > > Anyone who cloned it be warned, you'll want to do something like > > git remote rm origin > git remote add origin git://github.com/rubyredrick/ruport-book.git > Great job Rick! Just one question, would this patch for the Rakefile be useful? ------------------- 8< --------------------- --- Rakefile 2009-02-09 01:03:27.000000000 +0100 +++ Rakefile.new 2009-02-09 01:09:37.000000000 +0100 @@ -1,6 +1,6 @@ task :default => [:build] -task :build do +task :build => :convert_all do sh "export PATH=/opt/local/bin:$PATH" sh "dblatex xml/book.xml -o book.pdf" sh "open book.pdf" @@ -12,7 +12,7 @@ sh "asciidoc -d book -b docbook -o xml/ch_#{basefile} -s #{ARGV[1]}" end -task :convert_all do +task :convert_all => :fix_images do targetDir = File.join(File.dirname(__FILE__), 'xml') sh "export PATH=/opt/local/bin:$PATH" FileList[File.join(File.dirname(__FILE__), 'manuscript', '*.txt')].each do |src| ---------------- >8 ---------------------------- Cheers Robert