ld10-samba/Rakefile

23 lines
387 B
Ruby

require 'rake/clean'
src = 'ld10-samba.tex'
bin = 'ld10-samba.pdf'
tmp = FileList.new('*.aux', '*.log', '*.nav', '*.out', '*.snm', '*.toc')
CLEAN.add(tmp)
CLOBBER.add(bin)
task :default => :compile
desc "Give the speech"
task :play => bin do
sh "impressive #{bin}"
end
desc "Compile presentation"
task :compile => bin
file bin => src do
sh "xelatex #{src}; xelatex #{src}"
end