Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rakefile: :deb - Copy/Gzip PDF.

  • Loading branch information...
commit 19dfec6bc0b5f2d3c849d63cfa43570bfbb1e665 1 parent a8af98e
runpaint authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Rakefile
4 Rakefile
@@ -178,9 +178,11 @@ end
desc "Generate the .deb"
task :deb => [:www] do
- html_dir = 'deb/usr/share/doc/vimrecipes/html'
+ deb_dir = 'deb/usr/share/doc/vimrecipes'
+ html_dir = deb_dir + '/html'
mkdir_p html_dir
cp 'output/toc/index.html', html_dir
+ sh "gzip -c output/vim-recipes.pdf >#{deb_dir}/vim-recipes.pdf.gz"
FileList['output/*/','output/*.png'].each {|d| cp_r d, html_dir}
FileList["#{html_dir}/*.html", "#{html_dir}/*/*.html",
"#{html_dir}/*/*/*.html"].each do |file|
Please sign in to comment.
Something went wrong with that request. Please try again.