diff --git a/Rakefile b/Rakefile
index 5ea5570..f534307 100644
--- a/Rakefile
+++ b/Rakefile
@@ -48,7 +48,6 @@
   require 'build/agent'
   require 'build/apache2'
   require 'build/nginx'
-  require 'build/documentation'
   require 'build/packaging'
   require 'build/test_basics'
   require 'build/oxt_tests'
diff --git a/build/packaging.rb b/build/packaging.rb
index fae74f0..3de03aa 100644
--- a/build/packaging.rb
+++ b/build/packaging.rb
@@ -541,7 +541,7 @@ def change_shebang(filename, value)
 end
 
 desc "Create a fakeroot, useful for building native packages"
-task :fakeroot => [:apache2, :nginx, 'nginx:as_dynamic_module', :doc] do
+task :fakeroot => [:apache2, :nginx, 'nginx:as_dynamic_module'] do
   require 'rbconfig'
   require 'fileutils'
   include RbConfig
@@ -660,11 +660,6 @@ def change_shebang(filename, value)
   sh "mkdir -p #{fake_nginx_module_source_dir}"
   sh "cp src/nginx_module/* #{fake_nginx_module_source_dir}/"
 
-  # Documentation
-  sh "mkdir -p #{fake_docdir}"
-  sh "cp doc/*.html #{fake_docdir}/"
-  sh "cp -R doc/images #{fake_docdir}/"
-
   # User binaries
   sh "mkdir -p #{fake_bindir}"
   Packaging::USER_EXECUTABLES.each do |exe|
