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
|
# on Ubuntu replace by
|
||||||
# system("gnome-open #{@pdfname}.pdf")
|
# system("gnome-open #{@pdfname}.pdf")
|
||||||
|
|
||||||
# make a symbolic link in order to
|
system("\\cp -f tmp/#{@pdfname}.pdf #{@pdfname}.pdf")
|
||||||
# let the tempory files into tmp/
|
|
||||||
if not FileTest::exists?("#{@pdfname}.pdf")
|
|
||||||
system("\\cp -f tmp/#{@pdfname}.pdf #{@pdfname}.pdf")
|
|
||||||
end
|
|
||||||
|
|
||||||
# open the pdf
|
# open the pdf
|
||||||
system("open tmp/#{@pdfname}.pdf")
|
system("open tmp/#{@pdfname}.pdf")
|
||||||
|
|
BIN
krambook.pdf
BIN
krambook.pdf
Binary file not shown.
Loading…
Reference in a new issue