aboutsummarylogtreecommitdiffstats
path: root/packaging.patch
blob: 890f1a0e3884daa7a82c8df5a125fcda4b404511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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|