Better rake
This commit is contained in:
parent
2dffa3dfc3
commit
ed25cab553
2 changed files with 1 additions and 5 deletions
6
Rakefile
6
Rakefile
|
@ -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
|
||||
system("\\cp -f tmp/#{@pdfname}.pdf #{@pdfname}.pdf")
|
||||
|
||||
# open the pdf
|
||||
system("open tmp/#{@pdfname}.pdf")
|
||||
|
|
BIN
krambook.pdf
BIN
krambook.pdf
Binary file not shown.
Loading…
Reference in a new issue