summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangZhuo Chen (陳昌倬) <czchen@debian.org>2018-11-04 21:34:10 +0800
committerPaul Gevers <elbrus@debian.org>2020-12-10 09:24:21 +0100
commitf7a714bb611ccf0ad5d965a39ba5f0dad465537a (patch)
treede0c3dd8f1804c1eef1d0983db9f205ace016e46
parent5ff0f50a2ecee9120602b4ad35663a6dd23b180f (diff)
patch Rakefile to allow for easier manpage generation
This patch disable some of the dependencies that are not required to build the actual manpage. Bug: https://github.com/stedolan/jq/issues/435 Last-Update: 2014-06-21 Gbp-Pq: Name remove-unecessary-rakefile-deps.patch
-rw-r--r--docs/Rakefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/Rakefile b/docs/Rakefile
index 93302a2..3256ed4 100644
--- a/docs/Rakefile
+++ b/docs/Rakefile
@@ -1,3 +1,13 @@
+require 'yaml'
+require 'json'
+require 'ronn'
+require 'tempfile'
+require 'yaml'
+
+def load_manual
+ YAML::load(File.open("content/3.manual/manual.yml"))
+end
+
current_dir = File.dirname(__FILE__)
rakefile_manual = File.expand_path(File.join(current_dir, "Rakefile.manual"))
rakefile_website = File.expand_path(File.join(current_dir, "Rakefile.website"))