Better rake

This commit is contained in:
Yann Esposito (Yogsototh) 2010-11-19 16:45:29 +01:00
parent 2dffa3dfc3
commit ed25cab553
2 changed files with 1 additions and 5 deletions

View file

@ -281,11 +281,7 @@ task :compile do
# on Ubuntu replace by
# system("gnome-open #{@pdfname}.pdf")
# make a symbolic link in order to
# let the tempory files into tmp/
if not FileTest::exists?("#{@pdfname}.pdf")
system("\\cp -f tmp/#{@pdfname}.pdf #{@pdfname}.pdf")
end
# open the pdf
system("open tmp/#{@pdfname}.pdf")

Binary file not shown.